pulsar-dotpulsar
pulsar-dotpulsar copied to clipboard
Support - Multi-broker connection
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/
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 :-)
It is recommended that the format be consistent with JAVA.