跳到主要内容

ALTER-SYSTEM-ADD-BROKER

ALTER-SYSTEM-ADD-BROKER

Name

ALTER SYSTEM ADD BROKER

Description

该语句用于添加一个 BROKER 节点。(仅管理员使用!)

语法:

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

Example

  1. 增加两个 Broker

     ALTER SYSTEM ADD BROKER "host1:port", "host2:port";
  2. fe开启fqdn(fqdn)时添加一个Broker

     ALTER SYSTEM ADD BROKER "broker_fqdn1:port";

Keywords

ALTER, SYSTEM, ADD, FOLLOWER, ALTER SYSTEM

Best Practice