Do you have more than 1 partition? You may have an auto-created topic with
only 1 partition, in which case the partition of messages will *always* be
the same, regardless of key.
-Ewen
On Fri, Mar 24, 2017 at 5:52 AM, Laxmi Narayan wrote:
> Hi,
>
> I am passing key in
Hi,
I am passing key in producer but still no change in partition.
I can see in producer response key value but no change in partition.
*This is how my props looks:*
props.put("bootstrap.servers", "localhost:9092");
props.put("group.id", "test");