Re: Kafka Streams possible partitioner bug

2022-11-20 Thread Upesh Desai
: Kafka Streams possible partitioner bug Hey Upesh, are you trying to plug in the custom partitioner via the `partitioner.class` ProducerConfig? That won't work in Streams for the exact reason you highlighted, which is why Streams has its own version of the interface called StreamPartitioner --

Re: Kafka Streams possible partitioner bug

2022-11-18 Thread Sophie Blee-Goldman
Hey Upesh, are you trying to plug in the custom partitioner via the `partitioner.class` ProducerConfig? That won't work in Streams for the exact reason you highlighted, which is why Streams has its own version of the interface called StreamPartitioner -- this is what you need to implement instead.

Kafka Streams possible partitioner bug

2022-11-18 Thread Upesh Desai
Hello all, We have been working on implementing a custom partitioner for our producer within a simple stream application, that will partition the records by a member field when sending them to the output topic. By looking at the contract of the partition() method in the Partitioner interface, i