消息队列中间件切换RocketMQ

来源:本站原创 点击数: 发布时间:2026年08月31日

问题分析:新版wf1614新增支持RocketMQ,如何配置连接

处理办法:在Configuration目录下找到eventbus.json,将RabbitMQ改为RocketMQ

{

  "EventBus": {

    "Provider": "RocketMQ",

    "LogLevel": "Error"

  }

}

然后在rocketmq.json中填写对应地址、端口和账号信息

{

  "RocketMQ": {

    "EnableQueue": true,

    "Endpoints": "192.168.xx.1",

    "Port": "8081",

    "Topic": "WebFuture",

    "ProducerGroup": "PowerProducerGroup",

    "ConsumerGroup": "PowerConsumerGroup_前台",

    "AccessKey": "username",

    "SecretKey": "your_password",

    "Tag": "*"

  }

}