We have consumer processes which need to restart frequently, say, every
5 minutes. We have 10 of them so we are facing two restarts every minute
on average.
1) It seems that nearly every time a consumer restarts the group is
rebalanced. Even if the restart takes less than the heartbeat interval.
2) My guess is that the group manager just cannot know that the same
consumer is knocking at the door again.
Are my suspicions (1) and (2) correct? Is there a chance to fix this
such that a restart within the heartbeat interval does not lead to a
re-balance? Would a well defined client.id help?
Regards
Harald
- Best approach to frequently restarting consumer proc... Harald Kirsch
-