Integration / Apache Kafka Interview questions
Explain the lifecycle of a Kafka consumer group rebalance?
A rebalance is the process of reassigning a topic's partitions among a consumer group's current members, triggered whenever group membership changes — a consumer joins, leaves, crashes, or the subscribed topic's partition count changes.
In the classic (eager) rebalance protocol, every member has to stop processing all its partitions during the whole rebalance, even ones it keeps — a real pause in throughput. The newer cooperative/incremental rebalancing (and the KIP-848 next-generation protocol, GA in Kafka 4.0) narrows this down so only the specific partitions actually being reassigned are paused, letting members keep processing their unaffected partitions throughout, which is a meaningful throughput improvement for large, frequently-changing groups.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
