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