• 深入理解RocketMQ(九)---实战(控制台搭建)


     rocketMQ控制台搭建

    (1)下载rocketmq-console代码:https://github.com/875279177/incubator-rocketmq-externals

    (2)修改配置application配置文件,主要修改端口号及rocketmq.config.dataPath

    server.contextPath=
    server.port=8080
    #spring.application.index=true
    spring.application.name=rocketmq-console
    spring.http.encoding.charset=UTF-8
    spring.http.encoding.enabled=true
    spring.http.encoding.force=true
    logging.config=classpath:logback.xml
    #if this value is empty,use env value rocketmq.config.namesrvAddr  NAMESRV_ADDR | now, you can set it in ops page.default localhost:9876
    rocketmq.config.namesrvAddr=127.0.0.1:9876
    #if you use rocketmq version < 3.5.8, rocketmq.config.isVIPChannel should be false.default true
    rocketmq.config.isVIPChannel=
    #rocketmq-console's data path:dashboard/monitor
    rocketmq.config.dataPath=D:/workSpace/logs/data
    #set it false if you don't want use dashboard.default true
    rocketmq.config.enableDashBoardCollect=true

    (3)启动项目,打开控制台:http://ip:port/serverport

     

  • 相关阅读:
    第六周 8.23-8.29
    Go-ethereum源码解析-Part I
    Go语言
    UVa Live 4725
    UVa 11134
    UVa 11100
    UVa 11627
    UVa Live 4794
    UVa LA 4254
    UVa 10905
  • 原文地址:https://www.cnblogs.com/liconglong/p/12950567.html
Copyright © 2020-2023  润新知