Michael Bingham created KAFKA-9964:
--------------------------------------

             Summary: Better description of RoundRobinPartitioner behavior for 
AK 2.4+
                 Key: KAFKA-9964
                 URL: https://issues.apache.org/jira/browse/KAFKA-9964
             Project: Kafka
          Issue Type: Improvement
          Components: producer 
    Affects Versions: 2.4.1, 2.5.0, 2.4.0
            Reporter: Michael Bingham


The Javadocs for {{RoundRobinPartitioner}} currently state:
{quote}This partitioning strategy can be used when user wants to distribute the 
writes to all partitions equally
{quote}
In AK 2.4+, equal distribution is not guaranteed, even with this partitioner. 
The enhancements to consider batching made with 
[https://cwiki.apache.org/confluence/display/KAFKA/KIP-480%3A+Sticky+Partitioner]
 affect this partitioner as well.


So it would be useful to add some additional Javadocs to explain that unless 
batching is disabled, even distribution of records is not guaranteed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to