Skip to content
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

Kafka Topic Repartition Not Supported #6

Open
zachben opened this issue Nov 8, 2017 · 0 comments
Open

Kafka Topic Repartition Not Supported #6

zachben opened this issue Nov 8, 2017 · 0 comments

Comments

@zachben
Copy link

zachben commented Nov 8, 2017

It appears that in case repartition will be performed on the Kafka topic, from 3 partitions to 4 partitions for instance, the streaming job will ignore the new partition.
This is because providing fromOffsets parameter to createDirectStream indicates the job to read only from the 3 first partitions, and ignore the 4th one (for new records that might have been produced to it already, and will be produced during the job execution).

I would expect createDirectStream to handle non-indicated partitions (in fromOffsets) in a standard way (read new records), but unfortunately it does not behave like that.

Our application is written in Python, and we are using streaming-kafka-0-8-integration (as version 0.10 does not support python).

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

No branches or pull requests

1 participant