v2-439bf9d96773543246b1c3aca8b5a179_1440w.jpg
install:

cd /opt 
wget https://mirrors.tuna.tsinghua.edu.cn/apache/rocketmq/4.8.0/rocketmq-all-4.8.0-bin-release.zip
unzip rocketmq-all-4.8.0-bin-release.zip
cd rocketmq-all-4.8.0-bin-release

brocker.conf

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

run:

mkdir -p /root/store/commitlog
mkdir -p /root/store/consumequeue
cd /opt/rocketmq-all-4.8.0-bin-release
nohub ./bin/mqnamesrv -n 172.16.0.120:9876 &
nohup sh bin/mqbroker -n 172.16.0.120:9876 -c conf/broker.conf autoCreateTopicEnable=true &

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code