1
votes

Trying to develop a microservices project using the spring-cloud-stream-rocketmq. I have the default rocketmq server and my configuration is

  spring:
  cloud:
    stream:
      default-binder: rocketmq
      rocketmq:
        binder:
          name-server: nameserver1
        bindings:
          output1:
            producer:
              transactional: false
      bindings:
        output1:
          destination: topic1
        output2:  
          destination: topic2

But not i want to access another rocketmq server .How should i change the configuration to use both rocketmq server.Please help me

1

1 Answers

0
votes

multiple nameserver means you are using a cluster!

The configs of broker should be seted properly too

use clustername or try "nameserverIP1;nameserverIP2"