apachemessagebrokerrocketmq

How can I connect RocketMQ broker with RocketMQ console to get the details?


I am a newbie to Apache RocketMQ. I have found that we can use RocketMQ console to get details of RocketMQ message transaction. see here

How do I connect(sync) that console with my locally running RockerMQ broker?

I am using this documentation to run a broker and client.


Solution

  • rocketmq-console is a graphic tool baseed on web(unlike mqadmin base commandline),here is an example about run this application

    `

    server.contextPath=
    server.port=8080
    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
    rocketmq.config.namesrvAddr=127.0.0.1:9876
    rocketmq.config.isVIPChannel=false
    rocketmq.config.dataPath=/tmp/rocketmq-console/data
    rocketmq.config.enableDashBoardCollect=true
    

    `

    you should specify your nameserver before package,and then open web browser,and then visit http://127.0.0.1:8080/.