[SPARK-8833][STREAMING][WIP] Kafka Direct API support offset in zookeeper#7235
[SPARK-8833][STREAMING][WIP] Kafka Direct API support offset in zookeeper#7235guowei2 wants to merge 2 commits intoapache:masterfrom
Conversation
|
Merged build triggered. |
|
Merged build started. |
|
I will add test case for this later |
|
Test build #36564 has started for PR 7235 at commit |
|
CC @koeninger but I don't think this class is intended to manage Kafka offsets by itself |
|
Merged build triggered. |
|
Test build #36564 has finished for PR 7235 at commit
|
|
Merged build finished. Test PASSed. |
|
Merged build started. |
|
Test build #36566 has started for PR 7235 at commit |
|
Test build #36566 has finished for PR 7235 at commit
|
|
Merged build finished. Test PASSed. |
|
The containsKey thing is a good catch. But this basic idea has been discussed before and rejected: https://issues.apache.org/jira/browse/SPARK-6249 I don't think the direct stream should be implicitly doing anything at all with zookeeper. You can handle writing to / reading from ZK yourself explicitly if you need to. |
|
@guowei2 do you want to open a separate jira / pull request for that containsKey fix? |
|
ok |
Kafka Direct API support offset in zookeeper