kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ewen Cheslack-Postava <e...@confluent.io>
Subject Re: Is it possible for consumers within a single consumer group to have different subscriptions?
Date Thu, 22 Dec 2016 03:32:15 GMT
It is possible for them to have different subscriptions. Consumers will
only be assigned partitions from topics to which they are subscribed. So if
you need to modify your app use data from an additional topic, you can
safely do a rolling deploy of the updated version and during the period
where there is a mix of both old and new versions of the app only the new
ones will be consuming from the added topic.

-Ewen

On Wed, Dec 21, 2016 at 6:33 PM, Jeff Widman <jeff@netskope.com> wrote:

> Searched for a while and not finding a clear answer.
>
> Is it possible for consumers within a single consumer group to have
> different topic subscriptions?
>
> If no, if any one of the consumers calls subscribe() with new topic list,
> how is that subscription propagated to the other consumers in the group? Is
> a rebalance immediately triggered?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message