[ https://issues.apache.org/jira/browse/KAFKA-9964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17744947#comment-17744947 ]
zhangzhisheng commented on KAFKA-9964: -------------------------------------- it's bug, pls follow RoundRobinPartitioner broken by KIP-480 > 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.0, 2.5.0, 2.4.1 > Reporter: Michael Bingham > Priority: Minor > > 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.20.10#820010)