RocketMQ 安装
一、docker安装
1.安装namesrv服务
docker run -d -p 9876:9876 -v /application/rocketmq/data/namesrv/logs:/root/logs -v /application/rocketmq/data/namesrv/store:/root/store --name rmqnamesrv -e "JAVA_OPTS=-Duser.home=/opt" -e "JAVA_OPT_EXT=-server -Xms1024m -Xmx1024m" rocketmqinc/rocketmq sh mqnamesrv
2.添加broker配置文件
brokerClusterName = DefaultCluster
brokerName = broker-a
brokerId = 0
deleteWhen = 04
fileReservedTime =