1. 程式人生 > >rocketmq安裝與視覺化管理平臺安裝

rocketmq安裝與視覺化管理平臺安裝

  1. 安裝jdk環境變數.
  2. 啟動mqnamesrv -> nohup sh bin/mqnamesrv &
  3. 啟動mqbroker -> nohup sh mqbroker -n localhost:9876 autoCreateTopicEnable=true &
  4. export NAMESRV_ADDR=localhost:9876

sh bin/tools.sh org.apache.rocketmq.example.quickstart.Producer SendResult [sendStatus=SEND_OK, msgId= …

sh bin/tools.sh org.apache.rocketmq.example.quickstart.Consumer ConsumeMessageThread_%d Receive New Messages: [MessageExt…

Shutdown Servers

sh bin/mqshutdown broker The mqbroker(36695) is running… Send shutdown request to mqbroker(36695) OK

sh bin/mqshutdown namesrv The mqnamesrv(36664) is running… Send shutdown request to mqnamesrv(36664) OK