pulsar-dotpulsar icon indicating copy to clipboard operation
pulsar-dotpulsar copied to clipboard

Support - Multi-broker connection

Open eneshoxha opened this issue 3 years ago • 2 comments

Would be possible to support multiple brokers connection like in Pulsar Client for Java?

     PulsarClient client = PulsarClient.builder()
          .serviceUrl("pulsar://localhost:6650,localhost:6651,localhost:6652")
          .build();

http://pulsar.apache.org/docs/en/client-libraries-java/

eneshoxha avatar May 25 '21 21:05 eneshoxha

Hi @eneshoxha Personally, I think that problem is better solved via DNS / Service discovery. Otherwise, you'll have X number of deployable units you have to reconfigure every time you add or remove brokers to the list of entry points. However, if you submit a PR with this functionality I'll be happy to merge it :-)

blankensteiner avatar May 28 '21 05:05 blankensteiner

It is recommended that the format be consistent with JAVA.

Storm937 avatar Nov 29 '23 13:11 Storm937