跳到主要内容
跳到主要内容

ALTER-SYSTEM-DROP-BROKER

ALTER-SYSTEM-DROP-BROKER

Name

ALTER SYSTEM DROP BROKER

Description

该语句是删除 BROKER 节点,(仅限管理员使用)

语法:

删除所有 Broker
ALTER SYSTEM DROP ALL BROKER broker_name
删除某一个 Broker 节点
ALTER SYSTEM DROP BROKER broker_name "host:port"[,"host:port"...];

Example

  1. 删除所有 Broker

    ALTER SYSTEM DROP ALL BROKER broker_name
  2. 删除某一个 Broker 节点

    ALTER SYSTEM DROP BROKER broker_name "host:port"[,"host:port"...];

Keywords

ALTER, SYSTEM, DROP, FOLLOWER, ALTER SYSTEM

Best Practice