rocketmq服务关闭 进入到bin
sh mqshutdown namesrv
sh mqshutdown broker

rocketmq的启动
nohup sh mqnamesrv & //启动namesrv
nohup sh mqbroker -n 47.101.154.158:9876 -c /usr/local/rocketMq/rocketmq-all-4.9.2/distribution/target/rocketmq-4.9.2/rocketmq-4.9.2/conf/broker.conf autoCreateTopicEnable=true &

(nohup sh bin/mqbroker -n 139.224.40.102:9876 -c conf/broker.conf autoCreateTopicEnable=true &
)
//启动Borker

https://zhuanlan.zhihu.com/p/356024707

nohup sh bin/mqbroker -n 123.60.83.208:9876 -c /usr/local/rocketmq-all-4.2.0/distribution/target/apache-rocketmq/conf/broker.conf autoCreateTopicEnable=true &

Logo

华为AI开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐