Files
Work-configuration-file/RocketMQ/线下实验/A_ broker-a.properties
2025-10-07 15:58:15 +08:00

37 lines
1.0 KiB
Properties
Raw 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.

# Broker 集群名称
brokerClusterName = TestCluster
# Broker 逻辑主名称(主从共享)
brokerName=broker-a
# 设置为 0 表示主节点DLeger 模式下为固定 0
brokerId=0
brokerIP1=192.168.70.17
aclEnable=true
# Broker 角色:同步主节点到从节点
brokerRole=SYNC_MASTER
# 磁盘刷写方式:同步刷下磁盘
flushDiskType=SYNC_MASTER
# Broker 监听客户端连接的端口
listenPort=10911
# NameServer 地址(多个以分号分隔)
namesrvAddr=192.168.70.17:9876;192.168.70.15:9876
# 启用 DLedger即5.x推荐主从机制
enableDLegerCommitLog=true
dLegerGroup=dlmq-a
dLegerPeers=n0-192.168.70.17:40911;n1-192.168.70.15:40911
dLegerSelfId=n0
# Broker-A 主节点存储路径
storePathRootDir=/data/rocketmq/store/broker-a
storePathCommitLog=/data/rocketmq/store/broker-a/commitlog
storePathConsumeQueue=/data/rocketmq/store/broker-a/consumequeue
storePathIndex=/data/rocketmq/store/broker-a/index
storeCheckpoint=/data/rocketmq/store/broker-a/checkpoint
abortFile=/data/rocketmq/store/broker-a/abort