rocketMq可视化视图下载与安装

  1. 下载项目

项目地址:https://github.com/apache/rocketmq-externals
rocketMq可视化视图下载与安装_第1张图片
2. 把下载的项目解压出来,找到rocketmq-console项目
修改rocketmq-console\src\main\resources文件下的application.properties文件
如下:

server.contextPath=
server.port=8088
#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=false
#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
#set the message track trace topic if you don't want use the default one
rocketmq.config.msgTrackTopicName=

3.打包项目,用maven命令 mvn clean package
4.把打包好的项目启动即可(首先启动rocketMq的服务)rocketMq服务安装
项目本身就是springboot项目,直接启动:
D:\mq\rocketmq-externals\rocketmq-console\target>java -jar rocketmq-console-ng-1.0.0.jar &
5.启动后的页面
rocketMq可视化视图下载与安装_第2张图片

你可能感兴趣的:(java应用,rocketMq)