尝试使用 spring-cloud-stream-rocketmq 开发微服务项目。我有默认的 RocketMQ 服务器,我的配置是
spring:
cloud:
stream:
default-binder: rocketmq
rocketmq:
binder:
name-server: nameserver1
bindings:
output1:
producer:
transactional: false
bindings:
output1:
destination: topic1
output2:
destination: topic2
但我不想访问另一个rocketmq服务器。我应该如何更改配置以使用两个rocketmq服务器。请帮助我
多个名称服务器意味着您正在使用集群!
Broker 的配置也应该正确设置
使用
clustername
或尝试 "nameserverIP1;nameserverIP2"
我和你有同样的问题,尝试了很多方法,还是没有解决