rocketmq

作者: 呆呆猿 | 来源:发表于2020-08-23 20:52 被阅读0次

    启动nameserver:

    .\mqnamesrv  -n  localhost:9876
    eg:
    PS D:\service\rocketmq-all-4.7.1-bin-release\bin> .\mqnamesrv  -help
    Java HotSpot(TM) 64-Bit Server VM warning: Using the DefNew young collector with the CMS collector is deprecated and will likely be removed in a future release
    Java HotSpot(TM) 64-Bit Server VM warning: UseCMSCompactAtFullCollection is deprecated and will likely be removed in a future release.
    usage: mqnamesrv [-c <arg>] [-h] [-n <arg>] [-p]
     -c,--configFile <arg>    Name server config properties file
     -h,--help                Print help
     -n,--namesrvAddr <arg>   Name server address list, eg: 192.168.0.1:9876;192.168.0.2:9876
     -p,--printConfigItem     Print all config item
    

    启动brocker

    ./mqbroker.cmd -n 127.0.0.1:9876 autoCreateTopicEnable=true
    eg:
    PS D:\service\rocketmq-all-4.7.1-bin-release\bin> ./mqbroker.cmd  -help
    usage: mqbroker [-c <arg>] [-h] [-m] [-n <arg>] [-p]
     -c,--configFile <arg>       Broker config properties file
     -h,--help                   Print help
     -m,--printImportantConfig   Print important config item
     -n,--namesrvAddr <arg>      Name server address list, eg: 192.168.0.1:9876;192.168.0.2:9876
     -p,--printConfigItem        Print all config item
    

    相关文章

      网友评论

          本文标题:rocketmq

          本文链接:https://www.haomeiwen.com/subject/oaywjktx.html