You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Michael Bingham (Jira)" <ji...@apache.org> on 2020/05/06 22:41:00 UTC
[jira] [Created] (KAFKA-9964) Better description of
RoundRobinPartitioner behavior for AK 2.4+
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)