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 23:38:00 UTC

[jira] [Commented] (KAFKA-9964) Better description of RoundRobinPartitioner behavior for AK 2.4+

    [ https://issues.apache.org/jira/browse/KAFKA-9964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17101266#comment-17101266 ] 

Michael Bingham commented on KAFKA-9964:
----------------------------------------

Closing this out. Turns out the issue is a bug in RoundRobinPartitioner, and will file a new ticket for that.

> 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.3.4#803005)