You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "M. Manna (JIRA)" <ji...@apache.org> on 2019/05/20 14:29:00 UTC

[jira] [Updated] (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:all-tabpanel ]

M. Manna updated KAFKA-3333:
----------------------------
    Summary: Alternative Partitioner to Support "Always Round-Robin" partitioning  (was: Alternative Partitioner to Support "Always Round-Robin" assignment)

> 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
>    Affects Versions: 0.10.0.0
>            Reporter: Stephen Powis
>            Priority: Major
>              Labels: needs-kip
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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
(v7.6.3#76005)