You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/06/18 02:31:43 UTC

[GitHub] [pulsar] Anonymitaet commented on a change in pull request #4546: Introduce multi host in pulsar doc

Anonymitaet commented on a change in pull request #4546: Introduce multi host in pulsar doc
URL: https://github.com/apache/pulsar/pull/4546#discussion_r294586422
 
 

 ##########
 File path: site2/docs/admin-api-overview.md
 ##########
 @@ -70,3 +70,23 @@ config.setTlsTrustCertsFilePath(tlsTrustCertsFilePath);
 
 PulsarAdmin admin = new PulsarAdmin(url, config);
 ```
+
+If you have mutilple brokers to using, you can use multi host like pulsar service, like this:
+```java
+URL url = new URL("http://localhost:8080,localhost:8081,localhost:8082");
+// Pass auth-plugin class fully-qualified name if Pulsar-security enabled
 
 Review comment:
   Are "auth-plugin" and "Pulsar-security" something like a prop noun?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services