murong00 opened a new issue #5120: Client may not work well when using invalid multi-hosts URL: https://github.com/apache/pulsar/issues/5120 **Describe the bug** Some users especially the new ones may be puzzled when using multi-hosts in `client.conf`, such as: ``` $ cat conf/client.conf webServiceUrl=http://host1:8080,http://host2:8080 $ bin/pulsar-admin brokers list pulsar-cluster-test class java.lang.IllegalArgumentException: port out of range:-1 ``` or ``` $ cat conf/client.conf webServiceUrl=http://host1:8080/,http://host2:8080/ $ bin/pulsar-admin brokers list pulsar-cluster-test HTTP 404 Not Found Reason: HTTP 404 Not Found ``` It would be better to add the configuration example when using multi-hosts. More details can be found in unit test `ServiceURITest.java`.
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services