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

kgo: avoid / wakeup lingering if we hit max bytes or max records #736

Merged
merged 1 commit into from
May 26, 2024
Merged

Conversation

twmb
Copy link
Owner

@twmb twmb commented May 23, 2024

Currently if your linger is long and your max records small, it is possible to linger even if the client cannot buffer any more records.

Now, once max records or bytes is hit, we wakeup anything lingering and avoid entering the linger state again -- until we are no longer over max.

Closes #726.

Currently if your linger is long and your max records small, it is
possible to linger even if the client cannot buffer any more records.

Now, once max records or bytes is hit, we wakeup anything lingering and
avoid entering the linger state again -- until we are no longer over
max.

Closes #726.
@twmb twmb added minor and removed minor labels May 23, 2024
@twmb twmb merged commit ad5b742 into master May 26, 2024
8 checks passed
@twmb twmb deleted the 726 branch May 26, 2024 05:22
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.

Can not flush when MaxBufferedRecords reached
1 participant