[ https://issues.apache.org/jira/browse/KAFKA-8601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16905571#comment-16905571 ]
ASF GitHub Bot commented on KAFKA-8601: --------------------------------------- jolshan commented on pull request #7199: KAFKA-8601: StickyRoundRobinPartitioner URL: https://github.com/apache/kafka/pull/7199 Creates a partitioner that utilizes the sticky partitioning strategy on both records with null keys and non-null keys. Builds off of KIP-480. This partitioner will not be used as the default; usage is configured by the user. Includes tests of both keyed and non-keyed scenarios as well as tests for when a partition is unavailable. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Producer Improvement: Sticky Partitioner > ---------------------------------------- > > Key: KAFKA-8601 > URL: https://issues.apache.org/jira/browse/KAFKA-8601 > Project: Kafka > Issue Type: Improvement > Reporter: Justine Olshan > Assignee: Justine Olshan > Priority: Major > Fix For: 2.4.0 > > > Currently the default partitioner uses a round-robin strategy to partition > non-keyed values. The idea is to implement a "sticky partitioner" that > chooses a partition for a topic and sends all records to that partition until > the batch is sent. Then a new partition is chosen. This new partitioner will > increase batching and decrease latency. > KIP link: > https://cwiki.apache.org/confluence/display/KAFKA/KIP-480%3A+Sticky+Partitioner -- This message was sent by Atlassian JIRA (v7.6.14#76016)