Skip to main content

ADD BROKER

Description​

This statement is used to add a BROKER node. (Administrator only!)

grammar:

ALTER SYSTEM ADD BROKER broker_name "broker_host1:broker_ipc_port1","broker_host2:broker_ipc_port2",...;

Example​

  1. Add two brokers

     ALTER SYSTEM ADD BROKER "host1:port", "host2:port";
  2. When fe enable fqdn(fqdn),add one Broker

     ALTER SYSTEM ADD BROKER "broker_fqdn1:port";

Keywords​

ALTER, SYSTEM, ADD, FOLLOWER, ALTER SYSTEM

Best Practice​