Hi XinYi,

All consumer instances using the same group.id will share the data
(partitions) of a certain topic. The consumer group.id is not bound to a
topic.
If you want to share data on 1 topic, and parallel process data on another,
you have to change the group.id.

best regards,
Joris




On Fri, Dec 1, 2017 at 5:36 AM Avi Levi <a...@indeni.com> wrote:

> XinYi Long,
> If I understood you correctly than you have to create different groups
> Cheers
> Avi
>
>
> On Dec 1, 2017 4:09 AM, "XinYi Long" <xinyil...@skspruce.net> wrote:
>
> Hi, guys,
>
>     ?
>
>     My consumers want to share the data of one topic, so they use the same
> group.id. And the meanwhile, they also want to read every single messages
> of another topic, so they use unique group.id.
>     Does Kafka support this situation? Or I need to create different
> consumers for different group.id?
>
> Appreciate your reply.
>

Reply via email to