GitHub user Crim opened a pull request:

    https://github.com/apache/kafka/pull/1012

    [KAFKA-3333] - Add RoundRobinPartitioner

    https://issues.apache.org/jira/browse/KAFKA-3333
    
    
    The DefaultPartitioner typically distributes using the hash of the 
keybytes, and falls back to round robin if there is no key. But there is 
currently no way to do Round Robin partitioning if you have keys on your 
messages without writing your own partitioning implementation.
    
    I think it'd be helpful to have an implementation of straight Round Robin 
partitioning included with the library.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Crim/kafka KAFKA-3333

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/1012.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1012
    
----
commit 7a6781dfdfd1cbb34976a8dc37f0be72c644257b
Author: stephen powis <spo...@salesforce.com>
Date:   2016-03-04T15:14:42Z

    [KAFKA-3333] - Add RoundRobinPartitioner

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to