RocketMQ 安装部署
RocketMQ 安装部署
官方文档
http://rocketmq.apache.org/docs/quick-start/
安装步骤
下载 rocketmq v4.8.0,并解压到安装目录。
https://www.apache.org/dyn/closer.cgi?path=rocketmq/4.8.0/rocketmq-all-4.8.0-source-release.zip
Start NameServer (ip:9876)
Start Broker (ip:10911)
Shutdown
Send & Receive Message
修改配置
修改/etc/profile 添加环境变量
修改 broker 配置
/Users/xxx/software/rocketmq-4.8/conf/broker.conf
修改启动 shell 脚本
/Users/xxx/software/rocketmq-4.8/bin/runserver.sh
/Users/xxx/software/rocketmq-4.8/bin/runbroker.sh
/Users/xxx/software/rocketmq-4.8/bin/tools.sh
测试发送+接收
mqadmin 命令
备注
存储目录:/Users/xxx/store
日志目录:/Users/xxx/logs/rocketmqlogs (消息发送失败仔细查一下日志)
RocketMQ-Console 安装部署
Git 地址
https://github.com/apache/rocketmq-externals
https://github.com/apache/rocketmq-externals/tree/master/rocketmq-console
安装步骤
下载源码
修改 application.properties 配置
Maven 打包
启动服务
使用 Console 服务
注册的 RocketMQ-Cluster
更多配置
https://github.com/apache/rocketmq-externals/blob/master/rocketmq-console/doc/100/UserGuide_EN.md
评论