Kafka: an eager rebalance stops the entire consumer group

The default assignment strategy revokes every partition from every member, then reassigns from scratch. One instance restarting halts consumption group-wide. Cooperative sticky rebalancing only moves the partitions that must move.

Full code & output

This topic is available to PRO members.

Open this topic Go PRO Sign in Create a free account
More in KAFKA

Run this yourself in the Online Java Compiler, spin up a live REST API in the API Sandbox, or practise with Java interview questions.

Published 2026-08-25

© Java Coding Hub · About · Contact · Privacy · Terms