zoukankan      html  css  js  c++  java
  • RocketMQ启动

    下载RocketMQ解压启动

      > unzip rocketmq-all-4.4.0-source-release.zip
      > cd rocketmq-all-4.4.0/
      > mvn -Prelease-all -DskipTests clean install -U
      > cd distribution/target/apache-rocketmq
    

    Start Name Server

      > nohup sh bin/mqnamesrv &
      > tail -f ~/logs/rocketmqlogs/namesrv.log
      The Name Server boot success...

    Start Broker

     > nohup sh bin/mqbroker -n localhost:9876 &
     > tail -f ~/logs/rocketmqlogs/broker.log 
      The broker[%s, 172.30.30.233:10911] boot success...

    如果需要自动创建主题:

    > nohup sh bin/mqbroker -n localhost:9876 autoCreateTopicEnable=true &

    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
  • 相关阅读:
    晶振及COMS电路
    笔记16 C# typeof() & GetType()
    笔记15 修饰符
    笔记14 数据库编程技术
    C#基础知识
    C#连接数据库
    笔记13 winform
    笔记12 export to excel (NPOI)
    笔记11 export to excel
    笔记10
  • 原文地址:https://www.cnblogs.com/coder306/p/13087605.html
Copyright © 2011-2022 走看看