Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INLONG-11595][SDK] Optimize the implementation of node connection management #11596

Merged
merged 12 commits into from
Dec 11, 2024

Conversation

gosonzhang
Copy link
Contributor

Fixes #11595

  1. Adjust the proxy node selection algorithm, adopt random selection and regularly update the reselection mechanism;

  2. Add reconnection processing to NettyClient;

  3. Add the maximum inflight message count control for each connection, and check whether it is currently writable;

  4. Add the start() function of Sender and ClientMgr objects to avoid the problem of thread resource residue when construction fails

  5. Optimize log output printing

aloyszhang
aloyszhang previously approved these changes Dec 11, 2024
@gosonzhang gosonzhang merged commit d3be4d4 into apache:master Dec 11, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Improve][SDK] Optimize the implementation of node connection management
4 participants