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

Feature request: Round Robin partitioner #17

Open
mheese opened this issue Apr 24, 2015 · 4 comments
Open

Feature request: Round Robin partitioner #17

mheese opened this issue Apr 24, 2015 · 4 comments

Comments

@mheese
Copy link

mheese commented Apr 24, 2015

Currently I have the problem that a round robin partitioner is missing. I need that for better distribution of messages along partitions.

@talevy
Copy link
Contributor

talevy commented Apr 24, 2015

Are you looking for another Partitioner class to use instead of the DefaultPartitioner?

Currently, you can write a RoundRobinParititioner class and add it to your classpath, then point to it using the paritioner_class option in the plugin.

please let me know if thats what you mean, thanks!

@mheese
Copy link
Author

mheese commented Apr 24, 2015

That is exactly what I am in the process of doing actually. It is quite inconvenient though in terms of setup, and I can imagine that it is a feature that a lot of people would like to see. Not sure if this is the right place to ask for it though actually.

@talevy
Copy link
Contributor

talevy commented Apr 24, 2015

Ok, Are you working on that now? I agree with you that it would be a good thing to have an example of so it may be easier to integrate future custom ones.

I can go ahead and work on an example, using round robin, if that would help

@ScottChapman
Copy link

Yea, this would be very useful. good message distribution is pretty critical for kafka...

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

3 participants