Rocketmq启动命令

./mqbroker -n 121.5.182.220:9876 -c /var/local/rocketmq-rocketmq-all-4.7.1/distribution/target/rocketmq-4.7.1/rocketmq-4.7.1/conf/broker.conf autoCreateTopicEnable=true &

一定注意要有c

 

broker.conf文件内容是

brokerClusterName = DefaultCluster
brokerName = broker-a
brokerId = 0
deleteWhen = 04
fileReservedTime = 48
brokerRole = ASYNC_MASTER
flushDiskType = ASYNC_FLUSH
namesrvAddr=121.5.182.220:9876
brokerIP1=121.5.182.220

 

commitLog默认存储的位置是 

/root/store/commitlog

posted on 2021-07-02 15:00  MaXianZhe  阅读(387)  评论(0编辑  收藏  举报

导航