yfsn666 opened a new issue, #12119:
URL: https://github.com/apache/inlong/issues/12119

   ### Description
   
   When some endpoints are unreachable during client initialization, the SDK 
may suffer from the following issues:
   1. **Startup hang**: The TCP connection blocks until the kernel-level retry 
timeout expires, because `Dial` has no upper time limit.
   2. **Init failure**: If any single endpoint fails to connect, `NewClient` 
fails entirely, even when all other endpoints are healthy.
   
   It would be better to add a connection timeout and allow partial connection 
failures during client initialization in the DataProxy Go SDK.
   
   ### InLong Component
   
   InLong SDK
   
   ### Are you willing to submit PR?
   
   - [x] Yes, I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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