You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/03/28 23:21:00 UTC

[jira] [Commented] (KAFKA-3333) Alternative Partitioner to Support "Always Round-Robin" partitioning

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

ASF GitHub Bot commented on KAFKA-3333:
---------------------------------------

kkonstantine commented on pull request #1012: [KAFKA-3333] - Add RoundRobinPartitioner
URL: https://github.com/apache/kafka/pull/1012
 
 
   
 
----------------------------------------------------------------
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:
users@infra.apache.org


> Alternative Partitioner to Support "Always Round-Robin" partitioning
> --------------------------------------------------------------------
>
>                 Key: KAFKA-3333
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3333
>             Project: Kafka
>          Issue Type: New Feature
>          Components: clients
>            Reporter: Stephen Powis
>            Assignee: M. Manna
>            Priority: Major
>              Labels: kip
>             Fix For: 2.4.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> KIP: [https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=89070828]
> Please Look into KAFKA-7358 for the official description **
> The [DefaultPartitioner|https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/producer/internals/DefaultPartitioner.java] typically distributes using the hash of the keybytes, and falls back to round robin if there is no key. But there is currently no way to do Round Robin partitioning if you have keys on your messages without writing your own partitioning implementation.
> I think it'd be helpful to have an implementation of straight Round Robin partitioning included with the library.



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