分布式消息服务ROCKETMQ版-RocketMQ-Spring的使用:在application.properties文件中填写配置

时间:2024-11-07 10:06:23

在application.properties文件中填写配置

#=============== 生产者配置 =======================
## 替换成真实RocketMQ的NameServer地址与端口
rocketmq.name-server=127.0.0.1:9876
rocketmq.producer.group=my-group
#=============== 消费者配置 =======================
## 替换成真实RocketMQ的NameServer地址与端口
rocketmq.name-server=127.0.0.1:9876
support.huaweicloud.com/devg-hrm/rocketmq-spring.html