O'Reilly logo
  • Matt Bachmann thinks this is interesting:

The first step before trying to diagnose a problem further is to assure that you have run a preferred replica election (see Chapter 9) recently. Kafka brokers do not automatically take partition leadership back (unless auto leader rebalance is enabled, but this configuration is not recommended) after they have released leadership (e.g., when the broker has failed or been shut down). This means that it’s very easy for leader replicas to become unbalanced in a cluster. The preferred replica election is safe and easy to run, so it’s a good idea to do that first and see if the problem goes away.

From

Cover of Kafka: The Definitive Guide

Note

I wish I had read this a week ago or so... X-D