We have three hosts (1, 2, 3) in a kafka cluster. When we restart the cluster, If broker on host 2 restarts first, then most of partitions will use broker 2 as leader. Ideally, we want to see one third topics use broker 1 as leader, other one third topics use broker 2 and the remaining one third use broker 3. So how to evenly distribute the leaders among the 3 brokers in this case?
It seems this tool needs to be run from time to time. When a broker is restarted, the tool must be run to balance the load. My question is why this balancing is not built into the broker. So it will automatically run after a broker restarts and that will make operation easier.
On Wed, Aug 14, 2013 at 8:35 AM, Yu, Libo <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
Apache Lucene, Apache Solr and all other Apache Software Foundation project and their respective logos are trademarks of the Apache Software Foundation.
Elasticsearch, Kibana, Logstash, and Beats are trademarks of Elasticsearch BV, registered in the U.S. and in other countries. This site and Sematext Group is in no way affiliated with Elasticsearch BV.
Service operated by Sematext