Technical work, should be praised and then see, form a habitCopy the code
RocketMQ use tutorial related series of directories
introduce
This is not official, RocketMQ has an open source project to extend this incubator- RocketMq-Externals, which has a submodule called rocketMQ-Console, which is the Management Console project.
Download github.com/apache/rock… Source code to local, then compile ‘RocketMQ-console’ package to run
Download and compile the package
Github.com/apache/rock…
Import the idea of
Modify the configuration
Rocketmq. Config. NamesrvAddr = 192.168.88.131:9876Copy the code
Start the entrance
Method 1: app.java
Method 2: JAR package start (source code compiled, can be compiled jar package)
Java jar rocketmq - the console - ng - 2.0.0. JarCopy the code
Note: If the monitoring platform service is not on the same server as rockeMQ, the host file should be modified
Method 3: Docker installation
docker pull styletang/rocketmq-console-ng
Copy the code
run
Docker run - e "JAVA_OPTS = - Drocketmq. Namesrv. Addr = 192.168.88.131:9876 - Dcom. Rocketmq. SendMessageWithVIPChannel = false" -p 8080:8080 -t --name rocketmq-console-ng styletang/rocketmq-console-ngCopy the code
The effect