Hi,

I am wondering about Kafka behavior.

So, let me explain the use case I face.

I have 2 different groups of consumers:

* group of consumers G1 to consume only msgs from topic T1
* group of consumers G2 to consume only msgs from topic T2

The question is... What happens if I set the same group.id for both groups?

On one side, I say to Kafka: nodes in G1 and G2 are completely separated,
as they read distinct topics.

On the other side, I say to Kafka: nodes in G1 and G2 are somewhat similar,
as they have the same group.id.

* Is this use case authorized ?
* if so, is Kafka behavior well defined for such a use case ? and what is
the use case ?
* even if authorized, I guess it's not the best pratice (to have distinct
group of consumers with different topics but the same group.id), isn't it ?

Many thanks.

Regards,
Dominique

Reply via email to