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

Fixed issue for committing offsets in BatchConsumer #1908

Merged
merged 5 commits into from
Oct 5, 2024

Conversation

szczygiel-m
Copy link
Contributor

After removing the commit signal, for batch subscriptions that filter out a large number of messages lag grew, this was caused by the consuming thread not exiting the loop in the MessageBatchReceiver class and committing the message. The fix is to call the code responsible for committing messages in the loop along with the signal handler.

@szczygiel-m szczygiel-m requested a review from moscicky October 2, 2024 11:26
@szczygiel-m szczygiel-m added the bug label Oct 2, 2024
moscicky
moscicky previously approved these changes Oct 4, 2024
@szczygiel-m szczygiel-m merged commit 9611ede into master Oct 5, 2024
27 checks passed
@szczygiel-m szczygiel-m deleted the batch_filter_commit_fix branch October 5, 2024 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants