Re: Round-Robin assignment when non-nullable record key

2018-05-31 Thread Matthias J. Sax
You can also pass in a custom partitioner instead of using the default partitioner. -Matthias On 5/31/18 7:39 AM, Hans Jespersen wrote: > Why don’t to just put the metadata in the header and leave the key null so it > defaults to round robin? > > -hans > >> On May 31, 2018, at 6:54 AM, M. Man

Re: Round-Robin assignment when non-nullable record key

2018-05-31 Thread Hans Jespersen
Why don’t to just put the metadata in the header and leave the key null so it defaults to round robin? -hans > On May 31, 2018, at 6:54 AM, M. Manna wrote: > > Hello, > > I can see the this has been set as "KIP required". > > https://issues.apache.org/jira/browse/KAFKA- > > I have a use

Round-Robin assignment when non-nullable record key

2018-05-31 Thread M. Manna
Hello, I can see the this has been set as "KIP required". https://issues.apache.org/jira/browse/KAFKA- 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 unders