Adding a Broker to an Existing Cluster
You can use the BrokerAdminClient.addBrokerToCluster method to add a Broker to an existing cluster. You must provide the following arguments to this method:
The name of the remote
Broker whose cluster this
Broker is to join
The name of the
Broker host where the remote
Broker is running
The Broker to which the administrative client is connected will be added to the remote Broker's cluster.