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

   #### Expected behavior
   
   When the Pulsar client connection fails, we hope to receive a more detailed 
and specific error message, such as:
   ```
   WARN[0009] Failed to connect to broker. error="dial tcp [::1]:6650: connect: 
connection refused" remote_addr="pulsar://localhost:6650"
   ```
   
   
   #### Actual behavior
   
   pulsar go client  return a a generic and unclear message when connection 
failed,  like this:
   ```
   connection error
   ```
   
   #### Steps to reproduce
   
   Connecting to an abnormal or non-started Pulsar.
   
   #### System configuration
   **Pulsar version**: master & latest release
   


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