New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-26121] [Structured Streaming] Allow users to define prefix of Kafka's consumer group (group.id) #23103
Conversation
cc @koeninger Preliminary PR, todos:
|
ok to test |
Test build #99124 has finished for PR 23103 at commit
|
Test build #99125 has finished for PR 23103 at commit
|
Test build #99126 has finished for PR 23103 at commit
|
external/kafka-0-10-sql/src/main/scala/org/apache/spark/sql/kafka010/KafkaSourceProvider.scala
Outdated
Show resolved
Hide resolved
external/kafka-0-10-sql/src/main/scala/org/apache/spark/sql/kafka010/KafkaSourceProvider.scala
Outdated
Show resolved
Hide resolved
Test build #99134 has finished for PR 23103 at commit
|
Test build #99167 has finished for PR 23103 at commit
|
Test build #99183 has finished for PR 23103 at commit
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @zouzias
@tgravescs if there's anything else you need on this one chime in, otherwise ill merge in a couple days.
Lgtm |
LGTM. Btw, IMHO, TODOs @zouzias described would be better to be addressed at once since documentation is easy to be forgotten. |
@zouzias can you add the new option to docs/structured-streaming-kafka-integration.md as part of this PR? Instructions for building docs are in docs/README.md , ping me if you need a hand. |
@koeninger, I will make the doc changes asap. FYI, I plan to make changes on file |
Test build #99219 has finished for PR 23103 at commit
|
merging to master, thanks @zouzias |
…afka's consumer group (group.id) ## What changes were proposed in this pull request? Allow the Spark Structured Streaming user to specify the prefix of the consumer group (group.id), compared to force consumer group ids of the form `spark-kafka-source-*` ## How was this patch tested? Unit tests provided by Spark (backwards compatible change, i.e., user can optionally use the functionality) `mvn test -pl external/kafka-0-10` Closes apache#23103 from zouzias/SPARK-26121. Authored-by: Anastasios Zouzias <anastasios@sqooba.io> Signed-off-by: cody koeninger <cody@koeninger.org>
…afka's consumer group (group.id) ## What changes were proposed in this pull request? Allow the Spark Structured Streaming user to specify the prefix of the consumer group (group.id), compared to force consumer group ids of the form `spark-kafka-source-*` ## How was this patch tested? Unit tests provided by Spark (backwards compatible change, i.e., user can optionally use the functionality) `mvn test -pl external/kafka-0-10` Closes apache#23103 from zouzias/SPARK-26121. Authored-by: Anastasios Zouzias <anastasios@sqooba.io> Signed-off-by: cody koeninger <cody@koeninger.org>
…afka's consumer group (group.id) Allow the Spark Structured Streaming user to specify the prefix of the consumer group (group.id), compared to force consumer group ids of the form `spark-kafka-source-*` Unit tests provided by Spark (backwards compatible change, i.e., user can optionally use the functionality) `mvn test -pl external/kafka-0-10` Closes apache#23103 from zouzias/SPARK-26121. Authored-by: Anastasios Zouzias <anastasios@sqooba.io> Signed-off-by: cody koeninger <cody@koeninger.org>
What changes were proposed in this pull request?
Allow the Spark Structured Streaming user to specify the prefix of the consumer group (group.id), compared to force consumer group ids of the form
spark-kafka-source-*
How was this patch tested?
Unit tests provided by Spark (backwards compatible change, i.e., user can optionally use the functionality)
mvn test -pl external/kafka-0-10