kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Jespersen <h...@confluent.io>
Subject Re: Round-Robin assignment when non-nullable record key
Date Thu, 31 May 2018 14:39:35 GMT
Why don’t to just put the metadata in the header and leave the key null so it defaults to
round robin?


> On May 31, 2018, at 6:54 AM, M. Manna <manmedia@gmail.com> wrote:
> Hello,
> I can see the this has been set as "KIP required".
> https://issues.apache.org/jira/browse/KAFKA-3333
> I have a use case where I simply want to use the key as some metadata
> information (but not really for any messages), but ideally would like to
> round-robin partition assignment. All I understand is, unless a hash
> collision happens, a key will have a specific partition
> Could a PMC member please confirm if a KIP has been made available for
> voting etc., or is this still pending?
> Also, is it meanwhile safe to extends DefaultPartitioner and use
> round-robin condition for both Null/non-null keys as override?
> Regards,

View raw message