Rebalance after adding Kafka broker

When your application requires more Kafka brokers, you can add new ones without interfering with the rebalancing process using the command line.

  1. Open Cloudera Manager.
  2. Add a new Kafka broker.
  3. In the command line, check the status of the Kafka cluster with the /kafka_cluster_state command.
  4. Check the status of Cruise Control with /state command to make sure that everything is set before adding the broker.
  5. Call the /add_broker command.
    See the REST API reference document for the needed endpoint parameter.
    Cruise Control displays the rebalancing plan.
  6. Check the status of the Kafka cluster with the /kafka_cluster_state command.
  7. Check the status of Cruise Control with the /state command.
The new broker is added to the cluster.