RocketMQ Demo

官方指南

http://rocketmq.apache.org/docs/quick-start/

 

RocketMQ下载

http://rocketmq.apache.org/dowloading/releases/

 

修改配置

bin/mqnamesrv、bin/mqbroker设置适当的JVM内存

conf/broker.conf设置外网ip

namesrvAddr = 47.*.*.117:9876
brokerIP1 = 47.*.*.117

 

启动命令

nohup sh bin/mqnamesrv &

nohup sh bin/mqbroker -c conf/broker.conf &

测试命令

sh bin/tools.sh org.apache.rocketmq.example.quickstart.Producer

sh bin/tools.sh org.apache.rocketmq.example.quickstart.Consumer

停止命令

sh bin/mqshutdown broker

sh bin/mqshutdown namesrv

 

RocketMQ web控制台程序

https://github.com/apache/rocketmq-externals/releases/tag/rocketmq-console-1.0.0

修改配置rocketmq.config.namesrvAddr=47.*.*.117:9876

RocketMQ Demo

上一篇:windows nodejs express的安装


下一篇:如何解决chm类型的文件在Windows操作系统中无法打开