Rebalance after demoting Kafka broker
When a broker needs maintenance during the rebalance process, you can demote the Kafka broker using the command line. After the maintenance is completed, the rebalancing process can be continued.
When a broker must undergo maintenance, demoting can be used for removing partition leadership from the given broker.
In the command line, check the status of the Kafka cluster with the
Check the status of Cruise Control with
/statecommand to make sure that everything is set before demoting the broker.
/demote_brokercommand.See the REST API reference document for the needed endpoint parameter.Cruise Control displays the cluster load after the demoting operation.
Check the status of the Kafka cluster with the
Check the status of Cruise Control with the