• windows安装RocketMQ和可视化工具


    官方下载文件
    http://rocketmq.apache.org/dowloading/releases/
    确定报内存错误修改一下文件的内存大小
    runbroker
    runserver
    启动rocketmq
    start mqnamesrv.cmd
    start mqbroker.cmd -n 127.0.0.1:9876 autoCreateTopicEnable=true
    报错修改mqbroker内存小一半或者到1/4

    找不到主类修改
    set CLASSPATH=.;%BASE_DIR%conf;%CLASSPATH%

    set CLASSPATH=.;%BASE_DIR%conf;"%CLASSPATH%"
    可视化工具下载
    git clone https://github.com/apache/rocketmq-externals.git

    修改配置

    rocketmq-externals ocketmq-consolesrcmain esources’文件夹,打开‘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=
    #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


    2. 编译启动
    用CMD进入‘ ocketmq-externals ocketmq-console’文件夹,执行‘mvn clean package -Dmaven.test.skip=true’,编译生成。

    编译成功之后,Cmd进入‘target’文件夹,执行‘java -jar rocketmq-console-ng-2.0.0.jar’,启动‘rocketmq-console-ng-2.0.0.jar’。

    3.测试
    浏览器中输入‘127.0.0.1:配置端口’,成功后即可查看。

  • 相关阅读:
    python中datetime的使用方法
    apple for liudanping
    fiddle教程收藏
    idea下maven project dependencies 有红线
    win7,下安装mysql如何初始化
    使用idea练习springmvc时,出现404错误总结
    spring拦截器
    spring 学习总结
    eclipse 中maven项目的运行
    Java对象new,到赋null过程的总结
  • 原文地址:https://www.cnblogs.com/zyb2016/p/14665680.html
Copyright © 2020-2023  润新知