Skip to content

Partitioners fix #827

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

Merged
merged 18 commits into from
Sep 28, 2016
Merged

Partitioners fix #827

merged 18 commits into from
Sep 28, 2016

Conversation

barrotsteindev
Copy link
Contributor

The partitioners have been updated to use the new KafkaProducer calls and support the old SimpleProducer APIs.
The partitioners are callable and the RoundRobinPartitioner caches the last partition and supports dynamic partition altering.

@dpkp
Copy link
Owner

dpkp commented Sep 28, 2016

I had planned on removing many of these when SimpleProducer is removed. Do you think these partitioners are still useful w/ the new KafkaProducer ?

@barrotsteindev
Copy link
Contributor Author

The changes are made so the old partitioners work with the new KafkaProducer, while still maintaining support for the old producers.
So yes, these partitioners will still be useful, especially the round robin partitioner which has a better logic compared to the old one

@dpkp dpkp merged commit b8717b4 into dpkp:master Sep 28, 2016
@dpkp
Copy link
Owner

dpkp commented Sep 28, 2016

Ok, thanks!

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.

2 participants