Skip to content
New issue

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

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

Already on GitHub? # 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 force-pushed the connection_delay_inf branch from 2e6a438 to 7a024c4 Compare September 29, 2019 01:23
@dpkp dpkp merged commit 89bf6a6 into master Sep 29, 2019
@dpkp dpkp deleted the connection_delay_inf branch September 29, 2019 02:30
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant