JasonMing opened a new issue, #1466:
URL: https://github.com/apache/pulsar-client-go/issues/1466

   #### Expected behavior
   
   No error.
   
   #### Actual behavior
   
   Reports error [`"Invalid service 
URL"`](https://github.com/apache/pulsar-client-go/blob/v0.18.0/pulsar/client_impl.go#L86C24-L86C44)
   
   #### Steps to reproduce
   
   1. use comma-separated hosts url, like: 
`pulsar://host1:1234,host2:1234,host3:1234`
   2. new a pulsar client
      ```go
      c, err := pulsar.NewClient(pulsar.ClientOptions{
        URL:    "pulsar://host1:1234,host2:1234,host3:1234",
      })
      ```
   3. reports error: "Invalid service URL"
   
   #### System configuration
   **Pulsar version**: v0.18.0
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to