wangjialing218 opened a new issue #8092: URL: https://github.com/apache/pulsar/issues/8092
**Describe the bug** Set `brokerServiceUrl` in client.conf with mutli ipv6 host address like `pulsar://[fec0:0:0:ffff::1]:6650,[fec0:0:0:ffff::2]:6650`, when client connect to brokers it got such exception: `java.lang.IllegalArgumentException: Illegal character in port number at index 32: pulsar://[fec0:0:0:ffff::1]:6650,[fec0:0:0:ffff::2]:6650 at java.net.URI.create(URI.java:852) ~[na:1.8.0_131]` **To Reproduce** Steps to reproduce the behavior: 1. Start mutli brokers in ipv6 environment 2. Set `brokerServiceUrl` in client.conf with mutli ipv6 host address and connect to brokers. **Expected behavior** Client can connect to brokers **Additional context** It seems ipv6 URI do not support mutli hosts split by comma. Is there any workaround to specify mutli ipv6 hosts in `brokerServiceUrl` ? or some code need changed in pulsar-client? ---------------------------------------------------------------- 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: [email protected]
