Files
2025-10-07 15:58:15 +08:00

27 lines
842 B
Properties
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 监听端口
listenPort = 9876
# 开启 NameServer 内嵌 Controller 模式
enableControllerInNamesrv=true
# Controller 组名,集群内统一
controllerDLegerGroup=TestCluster-ctrl-group
# Controller 集群节点定义(格式为 ID-IP:端口)
controllerDLegerPeers=n0-192.168.70.17:40910;n1-192.168.70.15:40910
# 当前节点的 ID必须与上面对应
controllerDLegerSelfId=n1
# Controller 元数据存储路径
controllerStorePath=/data/rocketmq/store/controller
# 是否可以从 SyncStateSet 以外选举 Master若为 true可能会选取数据落后的副本作为 Master 而丢失消息,默认为 false。
enableElectUncleanMaster = false
# 当 Broker 副本组上角色发生变化时是否主动通知,默认为 true。
notifyBrokerRoleChanged = true
enablePropertyFilter=true
rocketmq.aclEnable=true