Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
385fd84
created seekablestream classes
jsun98 Sep 10, 2018
1c99483
created seekablestreamsupervisor class
jsun98 Sep 12, 2018
0bc6853
first attempt to integrate kafa indexing service to use SeekableStream
jsun98 Sep 13, 2018
462fb10
seekablestream bug fixes
jsun98 Sep 13, 2018
f2f99a9
kafkarecordsupplier
jsun98 Sep 15, 2018
17791e6
integrated kafka indexing service with seekablestream
jsun98 Sep 15, 2018
22675c5
implemented resume/suspend and refactored some package names
jsun98 Sep 18, 2018
05279ff
moved kinesis indexing service into core druid extensions
jsun98 Sep 18, 2018
4c806fe
merged some changes from kafka supervisor race condition
jsun98 Sep 19, 2018
11c5350
integrated kinesis-indexing-service with seekablestream
jsun98 Sep 20, 2018
a6f9499
unite tests for kinesis-indexing-service
jsun98 Sep 25, 2018
511199f
various bug fixes for kinesis-indexing-service
jsun98 Sep 26, 2018
35bf8ee
refactored kinesisindexingtask
jsun98 Sep 28, 2018
7313dbe
finished up more kinesis unit tests
jsun98 Oct 3, 2018
0ef3dd7
more bug fixes for kinesis-indexing-service
jsun98 Oct 3, 2018
be9ebb6
finsihed refactoring kinesis unit tests
jsun98 Oct 3, 2018
67edb8b
removed KinesisParititons and KafkaPartitions to use SeekableStreamPa…
jsun98 Oct 4, 2018
dd2ad96
kinesis-indexing-service code cleanup and docs
jsun98 Oct 4, 2018
f585d4c
merge #6291
jsun98 Oct 4, 2018
1e254e0
added more docs and reordered methods
jsun98 Oct 5, 2018
8357fb0
fixd kinesis tests after merging master and added docs in seekablestream
jsun98 Oct 8, 2018
ed36a68
fix various things from pr comment
jsun98 Oct 9, 2018
3aac350
improve recordsupplier and add unit tests
jsun98 Oct 12, 2018
32c163a
migrated to aws-java-sdk-kinesis
jsun98 Oct 12, 2018
919a4e2
merge changes from master
jsun98 Oct 15, 2018
6452b3f
fix pom files and forbiddenapi checks
jsun98 Oct 17, 2018
d3fae3e
checkpoint JavaType bug fix
jsun98 Oct 19, 2018
7aebece
fix pom and stuff
jsun98 Oct 19, 2018
d0c23a5
disable checkpointing in kinesis
jsun98 Oct 23, 2018
2bab3c3
fix kinesis sequence number null in closed shard
jsun98 Oct 25, 2018
73986ab
merge changes from master
jsun98 Oct 25, 2018
b2eaf74
fixes for kinesis tasks
jsun98 Oct 29, 2018
a371bbd
capitalized <partitionType, sequenceType>
jsun98 Oct 29, 2018
c16559d
removed abstract class loggers
jsun98 Oct 29, 2018
afab0c4
merged master changes
jsun98 Nov 2, 2018
1e1231f
conform to guava api restrictions
jsun98 Nov 2, 2018
727bb5d
add docker for travis other modules test
jsun98 Nov 3, 2018
5b648bd
Merge branch 'seekablestreamtemp' into seekablestream
jsun98 Nov 5, 2018
8baf786
address comments
jsun98 Nov 5, 2018
1568b3f
improve RecordSupplier to supply records in batch
jsun98 Nov 5, 2018
5a1ef1c
fix strict compile issue
jsun98 Nov 6, 2018
0404762
add test scope for localstack dependency
jsun98 Nov 9, 2018
c37ba24
kinesis indexing task refactoring
jsun98 Nov 14, 2018
810fb78
comments
jsun98 Nov 14, 2018
3b80d80
Merge remote-tracking branch 'upstream/master' into seekablestream
jsun98 Nov 14, 2018
25c8638
github comments
jsun98 Nov 14, 2018
f40feb1
minor fix
jsun98 Nov 14, 2018
0252b20
removed unneeded readme
jsun98 Nov 15, 2018
1b027e0
fix deserialization bug
jsun98 Nov 15, 2018
308268e
fix various bugs
jsun98 Nov 16, 2018
5437df3
KinesisRecordSupplier unable to catch up to earliest position in stre…
jsun98 Nov 17, 2018
2b87b99
minor changes to kinesis
jsun98 Nov 19, 2018
8a578f5
Merge remote-tracking branch 'upstream/master' into seekablestream
jsun98 Nov 20, 2018
212b59c
implement deaggregate for kinesis
jsun98 Nov 20, 2018
624c35e
Merge remote-tracking branch 'upstream/master' into seekablestream
jsun98 Nov 20, 2018
3d23fdb
Merge remote-tracking branch 'upstream/master' into seekablestream
jsun98 Nov 21, 2018
836a5a7
fix kinesis offset discrepancy with kafka
jsun98 Nov 28, 2018
ebde13b
kinesis record supplier disable getPosition
jsun98 Nov 28, 2018
cc72cc9
pr comments
jsun98 Nov 28, 2018
e35ab16
mock for kinesis tests and remove docker dependency for unit tests
jsun98 Nov 30, 2018
6eeac45
PR comments
jsun98 Nov 30, 2018
c4553ee
avg lag in kafkasupervisor #6587
jsun98 Dec 1, 2018
e20b40b
Merge remote-tracking branch 'upstream/master' into seekablestream
jsun98 Dec 1, 2018
a511c0c
refacotred SequenceMetadata in taskRunners
jsun98 Dec 1, 2018
4663cf6
Merge remote-tracking branch 'upstream/master' into seekablestream
jsun98 Dec 1, 2018
c5d4554
small fix
jsun98 Dec 3, 2018
7515719
more small fix
jsun98 Dec 3, 2018
81b5087
recordsupplier resource leak
jsun98 Dec 4, 2018
09676e8
revert .travis.yml formatting
jsun98 Dec 4, 2018
aaf1419
fix style
jsun98 Dec 5, 2018
98de4cc
kinesis docs
jsun98 Dec 6, 2018
f5d88d9
doc part2
jsun98 Dec 6, 2018
2a08eee
more docs
jsun98 Dec 13, 2018
b39f9c3
comments
jsun98 Dec 14, 2018
26adc38
comments*2
jsun98 Dec 14, 2018
f6049a9
revert string replace changes
jsun98 Dec 15, 2018
e24553e
comments
jsun98 Dec 17, 2018
b11d514
teamcity
jsun98 Dec 17, 2018
ca82037
comments part 1
jsun98 Dec 18, 2018
d4894c1
comments part 2
jsun98 Dec 18, 2018
1516da7
comments part 3
jsun98 Dec 19, 2018
7cd756c
merge #6754
jsun98 Dec 19, 2018
88e5e7e
Merge remote-tracking branch 'upstream/master' into seekablestream
jsun98 Dec 19, 2018
66be31d
fix injection binding
jsun98 Dec 19, 2018
d27bf0e
comments
jsun98 Dec 19, 2018
5b48928
KinesisRegion refactor
jsun98 Dec 19, 2018
205668c
comments part idk lol
jsun98 Dec 19, 2018
f3c7063
can't think of a commit msg anymore
jsun98 Dec 19, 2018
0627ed4
remove possiblyResetDataSourceMetadata() for IncrementalPublishingTas…
jsun98 Dec 19, 2018
9f59488
commmmmmmmmmments
jsun98 Dec 20, 2018
e16324c
extra error handling in KinesisRecordSupplier getRecords
jsun98 Dec 20, 2018
7439a17
comments
jsun98 Dec 21, 2018
b6eaa84
quickfix
jsun98 Dec 21, 2018
913ec66
typo
jsun98 Dec 21, 2018
6df49e4
oof
jsun98 Dec 21, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@
<argument>-c</argument>
<argument>org.apache.druid.extensions:druid-kafka-indexing-service</argument>
<argument>-c</argument>
<argument>org.apache.druid.extensions:druid-kinesis-indexing-service</argument>
<argument>-c</argument>
<argument>org.apache.druid.extensions:druid-lookups-cached-global</argument>
<argument>-c</argument>
<argument>org.apache.druid.extensions:druid-lookups-cached-single</argument>
Expand Down Expand Up @@ -317,4 +319,4 @@
</build>
</profile>
</profiles>
</project>
</project>
6 changes: 3 additions & 3 deletions docs/content/development/extensions-core/kafka-ingestion.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The Kafka indexing service enables the configuration of *supervisors* on the Ove
Kafka by managing the creation and lifetime of Kafka indexing tasks. These indexing tasks read events using Kafka's own
partition and offset mechanism and are therefore able to provide guarantees of exactly-once ingestion. They are also
able to read non-recent events from Kafka and are not subject to the window period considerations imposed on other
ingestion mechanisms. The supervisor oversees the state of the indexing tasks to coordinate handoffs, manage failures,
ingestion mechanisms using Tranquility. The supervisor oversees the state of the indexing tasks to coordinate handoffs, manage failures,
and ensure that the scalability and replication requirements are maintained.

This service is provided in the `druid-kafka-indexing-service` core extension (see
Expand Down Expand Up @@ -125,8 +125,8 @@ A sample supervisor spec is shown below:
|--------|-----------|---------|
|`type`|The supervisor type, this should always be `kafka`.|yes|
|`dataSchema`|The schema that will be used by the Kafka indexing task during ingestion, see [Ingestion Spec DataSchema](../../ingestion/ingestion-spec.html#dataschema).|yes|
|`tuningConfig`|A KafkaSupervisorTuningConfig to configure the supervisor and indexing tasks, see below.|no|
|`ioConfig`|A KafkaSupervisorIOConfig to configure the supervisor and indexing tasks, see below.|yes|
|`tuningConfig`|A KafkaSupervisorTuningConfig to configure the supervisor and indexing tasks, see below.|no|

### KafkaSupervisorTuningConfig

Expand Down Expand Up @@ -312,7 +312,7 @@ compatible because they have a different ingestion spec or partition allocation,
supervisor will create a new set of tasks. In this way, the supervisors are persistent across overlord restarts and
fail-overs.

A supervisor is stopped via the `POST /druid/indexer/v1/supervisor/<supervisorId>/shutdown` endpoint. This places a
A supervisor is stopped via the `POST /druid/indexer/v1/supervisor/<supervisorId>/terminate` endpoint. This places a
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need this backward incompatible change or this is fixing the doc?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/shutdown and /terminate are equivalent since #6272, although /shutdown is deprecated. (On the grounds that the difference between 'suspend' and 'terminate' is more clear than 'suspend' and 'shutdown'.)

So this was just fixing the doc.

tombstone marker in the database (to prevent the supervisor from being reloaded on a restart) and then gracefully
shuts down the currently running supervisor. When a supervisor is shut down in this way, it will instruct its
managed tasks to stop reading and begin publishing their segments immediately. The call to the shutdown endpoint will
Expand Down
392 changes: 392 additions & 0 deletions docs/content/development/extensions-core/kinesis-ingestion.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/content/development/extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Core extensions are maintained by Druid committers.
|druid-kafka-eight|Kafka ingest firehose (high level consumer) for realtime nodes.|[link](../development/extensions-core/kafka-eight-firehose.html)|
|druid-kafka-extraction-namespace|Kafka-based namespaced lookup. Requires namespace lookup extension.|[link](../development/extensions-core/kafka-extraction-namespace.html)|
|druid-kafka-indexing-service|Supervised exactly-once Kafka ingestion for the indexing service.|[link](../development/extensions-core/kafka-ingestion.html)|
|druid-kinesis-indexing-service|Supervised exactly-once Kinesis ingestion for the indexing service.|[link](../development/extensions-core/kinesis-ingestion.html)|
|druid-kerberos|Kerberos authentication for druid nodes.|[link](../development/extensions-core/druid-kerberos.html)|
|druid-lookups-cached-global|A module for [lookups](../querying/lookups.html) providing a jvm-global eager caching for lookups. It provides JDBC and URI implementations for fetching lookup data.|[link](../development/extensions-core/lookups-cached-global.html)|
|druid-lookups-cached-single| Per lookup caching module to support the use cases where a lookup need to be isolated from the global pool of lookups |[link](../development/extensions-core/druid-lookups.html)|
Expand Down
Loading