初始化提交
This commit is contained in:
26
RocketMQ/线下实验/B_namesrv.properties
Normal file
26
RocketMQ/线下实验/B_namesrv.properties
Normal file
@@ -0,0 +1,26 @@
|
||||
# 监听端口
|
||||
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
|
||||
Reference in New Issue
Block a user