Apache RocketMQ部署文档
RocketMQ的前身是MetaQ,metaq基本上是參照apache kafka開發的,把scala轉為采用java開發。
rocketmq現在已由阿里提交給apache社區管理。
RocketMQ的系統架構
安裝環境
NameServer?
10.0.0.201?
10.0.0.202?
10.0.0.203
Broker Master Server
10.0.0.201
Broker Slave Server
10.0.0.202
部署NameServer
在201, 202, 203上面運行以下命令
nohup sh bin/mqnameserv &
在201上面部署Broker Master ?Server
編輯配置文件conf/2m-2s-async/broker-a.properties
nohup sh mqbroker –n “10.0.0.201:9876;10.0.0.202:9876;10.0.0.203:9876” –c../conf/2m-2s-async/broker-a.properties &
在202上面部署Broker Slave Server
編輯配置文件conf/2m-2s-async/broker-a-s.properties
nohup sh mqbroker –n “10.0.0.201:9876;10.0.0.202:9876;10.0.0.203:9876” –c../conf/2m-2s-async/broker-a-s.properties &
停止服務
停止Broker Server
sh mqshutdown broker
停止Name Server
sh mqshutdown namesrv
其它管理指令
查看broker狀態
總結
以上是生活随笔為你收集整理的Apache RocketMQ部署文档的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: SpringCloud Demo
- 下一篇: swift源代码兼容开源项目清单