ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

rocketmq 启动关闭 基本操作

2020-09-16 15:01:27  阅读:10  来源: 互联网

标签:bin 0.116 conf broker 192.168 sh 关闭 基本操作 rocketmq


启动:
nohup sh bin/mqnamesrv &
nohup sh bin/mqbroker -n 192.168.0.116:9876 autoCreateTopicEnable=true -c conf/broker.conf &

关闭:
sh bin/mqshutdown namesrv
sh bin/mqshutdown broker

其他电脑可连配置:/conf/broker.conf
brokerClusterName = DefaultCluster
brokerName = broker-a
brokerId = 0
deleteWhen = 04
fileReservedTime = 48
brokerRole = ASYNC_MASTER
flushDiskType = ASYNC_FLUSH
namesrvAddr=192.168.0.116:9876
brokerIP1=192.168.0.116 //外网ip

标签:bin,0.116,conf,broker,192.168,sh,关闭,基本操作,rocketmq
来源: https://www.cnblogs.com/AnotherRider/p/13679152.html

专注分享技术,共同学习,共同进步。侵权联系[admin#icode9.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有