Skip to content

[SPARK-8833][STREAMING][WIP] Kafka Direct API support offset in zookeeper#7235

Closed
guowei2 wants to merge 2 commits intoapache:masterfrom
guowei2:spark-8833
Closed

[SPARK-8833][STREAMING][WIP] Kafka Direct API support offset in zookeeper#7235
guowei2 wants to merge 2 commits intoapache:masterfrom
guowei2:spark-8833

Conversation

@guowei2
Copy link
Copy Markdown
Contributor

@guowei2 guowei2 commented Jul 6, 2015

Kafka Direct API support offset in zookeeper

@AmplabJenkins
Copy link
Copy Markdown

Merged build triggered.

@AmplabJenkins
Copy link
Copy Markdown

Merged build started.

@guowei2
Copy link
Copy Markdown
Contributor Author

guowei2 commented Jul 6, 2015

I will add test case for this later

@guowei2 guowei2 changed the title [SPARK-8833][STREAMING] Kafka Direct API support offset in zookeeper [SPARK-8833][STREAMING][WIP] Kafka Direct API support offset in zookeeper Jul 6, 2015
@SparkQA
Copy link
Copy Markdown

SparkQA commented Jul 6, 2015

Test build #36564 has started for PR 7235 at commit 1941d7f.

@srowen
Copy link
Copy Markdown
Member

srowen commented Jul 6, 2015

CC @koeninger but I don't think this class is intended to manage Kafka offsets by itself

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

That's a good bug fix

@AmplabJenkins
Copy link
Copy Markdown

Merged build triggered.

@SparkQA
Copy link
Copy Markdown

SparkQA commented Jul 6, 2015

Test build #36564 has finished for PR 7235 at commit 1941d7f.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link
Copy Markdown

Merged build finished. Test PASSed.

@AmplabJenkins
Copy link
Copy Markdown

Merged build started.

@SparkQA
Copy link
Copy Markdown

SparkQA commented Jul 6, 2015

Test build #36566 has started for PR 7235 at commit e322623.

@SparkQA
Copy link
Copy Markdown

SparkQA commented Jul 6, 2015

Test build #36566 has finished for PR 7235 at commit e322623.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link
Copy Markdown

Merged build finished. Test PASSed.

@koeninger
Copy link
Copy Markdown
Contributor

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.

@koeninger
Copy link
Copy Markdown
Contributor

@guowei2 do you want to open a separate jira / pull request for that containsKey fix?

@guowei2
Copy link
Copy Markdown
Contributor Author

guowei2 commented Jul 7, 2015

ok

@guowei2 guowei2 closed this Jul 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants