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

Commit actual latest offsets on partition flow release when commitOnRevoke and flushOnRevoke are enabled #641

Merged
merged 3 commits into from
Oct 17, 2024

Conversation

i-surkov
Copy link
Contributor

Addresses #256 by clearing keys cache during the partition flow release, that way giving the timer flows the opportunity to flush persistence and release held offsets before partition flow tries to perform the final commit.

@i-surkov i-surkov marked this pull request as ready for review October 14, 2024 12:49
@i-surkov i-surkov changed the title Commit offsets on partition flow release Commit actual latest offsets on partition flow release when commitOnRevoke and flushOnRevoke are enabled Oct 14, 2024
Copy link
Contributor

@Z1kkurat Z1kkurat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks for fixing this!

@Z1kkurat Z1kkurat merged commit 9fe7403 into master Oct 17, 2024
3 checks passed
@Z1kkurat Z1kkurat deleted the isurkov/fix-commit-on-shutdown branch October 17, 2024 16:42
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