Our kafka streams application is stuck and continuously emits "(Re-)joining group” log message every 5 minutes without making any progress.
Kafka-consumer-groups cmd line tool with “—members” option shows lots of stale members, in addition to expected member-ids shown on log msgs on kafka-streams app and broker logs that were failing to join). For some reason these old members didn’t get evicted from members list. Looks like this is preventing the GroupCordinator from reaching “CompletingRebalance” state. Restart of Kafka streams app didn’t help either, it just replaced the newer member-ids; but the old stale member-ids are still present in the members-list. Is there any way to resolve this without restarting the broker hosting the GroupCoordinator for this group. Thanks Aravind