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

Rely on socket selector to detect completed connection attempts #1909

Merged
merged 2 commits into from
Sep 29, 2019

Conversation

dpkp
Copy link
Owner

@dpkp dpkp commented Sep 28, 2019

Fix for #1907 - Since we are registering connecting sockets in the selector to wake on EVENT_WRITE, we should not need to set any timeout to handle connecting. This is how the java client works, and makes more sense for kafka-python as we continue to improve the networking model.


This change is Reviewable

@dpkp dpkp merged commit 89bf6a6 into master Sep 29, 2019
@dpkp dpkp deleted the connection_delay_inf branch September 29, 2019 02:30
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.

1 participant