apache / pulsar-dotpulsar

The official .NET client library for Apache Pulsar

Home Page:https://pulsar.apache.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support - Multi-broker connection

eneshoxha opened this issue · 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/

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 :-)