快速开始
下载 & 构建
$ unzip rocketmq-all-4.2.0-source-release.zip
$ cd rocketmq-all-4.2.0/
$ mvn -Prelease-all -DskipTests clean install -U
$ cd distribution/target/apache-rocketmq启动名称服务(Name Server)
$ nohup sh bin/mqnamesrv &
$ tail -f ~/logs/rocketmqlogs/namesrv.log
The Name Server boot success...启动Broker
$ nohup sh bin/mqbroker -n localhost:9876 &
$ tail -f ~/logs/rocketmqlogs/broker.log
The broker[%s, 172.30.30.233:10911] boot success...发送 & 接收消息
关闭所有服务
Last updated