欢迎您访问365答案网,请分享给你的朋友!
生活常识 学习资料

RocketMQConsole可视化管理工具生成

时间:2023-05-02

github拉取最新源码

GitHub - apache/rocketmq-externals: Mirror of Apache RocketMQ (Incubating)

切换分支release-rocketmq-console-1.0.0

拉取分支release-rocketmq-console-1.0.0源码

修改 application.properties 配置文件

路径:rocketmq-externalsrocketmq-consolesrcmainresourcesapplication.properties

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=/tmp/rocketmq-console/data
#set it false if you don't want use dashboard.default true
rocketmq.config.enableDashBoardCollect=true

编译rocketmq-console

在rocketmq-externalsrocketmq-console目录下执行编译命令

编译命令:mvn clean package -Dmaven.test.skip=true

在 target 目录中生成包 rocketmq-console-ng-1.0.0.jar

运行 rocketmq-console-ng-1.0.0.jar

进入target目录执行命令:

java -jar rocketmq-console-ng-1.0.0.jar

 rocketmq-console启动成功

 访问控制台

http://localhost:8080/#/

Copyright © 2016-2020 www.365daan.com All Rights Reserved. 365答案网 版权所有 备案号:

部分内容来自互联网,版权归原作者所有,如有冒犯请联系我们,我们将在三个工作时内妥善处理。