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

Reduce the default TCP connection timeout from 30 to 5 seconds #415

Merged
merged 1 commit into from
Dec 12, 2020

Conversation

merlimat
Copy link
Contributor

Motivation

The default TCP connection timeout of 30 seconds is too high. The connection timeout should be low enough such that we can recover a producer session with brokers before the operation or the publish timeouts expired (default is 30sec for both).

5 seconds is a better default value for this scope.

@merlimat merlimat added this to the 0.4.0 milestone Dec 11, 2020
@merlimat merlimat self-assigned this Dec 11, 2020
@wolfstudy wolfstudy merged commit 110b99d into apache:master Dec 12, 2020
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.

4 participants