快速运行rocketmq 4.8.0 单节点
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 &