Skip to content

fix default fetch.min.bytes to 1, #565

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

Merged
merged 1 commit into from
Dec 4, 2020
Merged

fix default fetch.min.bytes to 1, #565

merged 1 commit into from
Dec 4, 2020

Conversation

eaglexiang
Copy link
Contributor

following official document

The default setting of 1 byte means that fetch requests are answered as soon as a single byte of data is available or the fetch request times out waiting for data to arrive. Setting this to something greater than 1 will cause the server to wait for larger amounts of data to accumulate which can improve server throughput a bit at the cost of some additional latency.

@achille-roussel
Copy link
Contributor

The change looks good, thanks for the fix!

@achille-roussel achille-roussel merged commit 1d5a83b into segmentio:master Dec 4, 2020
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.

2 participants