You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Peter Levart <pe...@gmail.com> on 2018/12/27 13:58:06 UTC
Re: two consumers in same consumer group get same messages
Hi,
On 12/26/18 10:53 AM, MCG wrote:
> I'm not talking about orderliness, but that the same consumer group, the same partition, is consumed by multiple consumers. I use kafka-consumer-groups.sh and org.apache.kafka.clients.admin.AdminClient to validate the results. Because the same consumer group subscribes to a topic, the same partition cannot be consumed by multiple consumers. But that happened.
This could be classified as "at least once" semantics. Was that
happening when a new consumer joined the group and partitions were
re-balanced? Was this only a transient condition for a few messages or
was it that two consumers were consuming same messages for a long time?
Regards, Peter