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

fix(wolff_client): keep metadata connection alive #60

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

zmstone
Copy link
Contributor

@zmstone zmstone commented Feb 7, 2024

Some environments (e.g. Azure Event Hubs) appears to have a connection rate limit.
tcpdump suggested TCP SYN packet being retransmitted before the connectivity check returned error.

This PR keeps the client's metadata connection alive (instead of immediately close after usage).
And the connectivity check returns ok immediately if the connection process is alive.

@zmstone zmstone force-pushed the long-live-metadata-connection branch 2 times, most recently from c126a34 to c747c9c Compare February 7, 2024 15:32
@zmstone zmstone force-pushed the long-live-metadata-connection branch from c747c9c to 3063765 Compare February 7, 2024 15:44
@zmstone
Copy link
Contributor Author

zmstone commented Feb 7, 2024

added another test case after @ieQu1's approval.

@zmstone zmstone merged commit c1ebe49 into kafka4beam:main-1.5 Feb 7, 2024
6 checks passed
@zmstone zmstone deleted the long-live-metadata-connection branch February 7, 2024 18:03
@zmstone zmstone mentioned this pull request Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants