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

GH-3638: Fixes bug caused by race condition during handleAsyncFailure(). #3639

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

chickenchickenlove
Copy link
Contributor

Motivation

  • In the previous PR, spring-kafka has a potential bug during async retry because of race condition between thread for KafkaMessageListenerContainer and threads for Mono or CompletableFuture.

Modification

  • After capturing the size to remove from failedRecords, it is repeatedly removed.

Result

@sobychacko sobychacko modified the milestone: 3.3.0 Nov 18, 2024
@sobychacko sobychacko merged commit c155336 into spring-projects:main Nov 18, 2024
3 checks passed
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.

Potential Bug: Missing Failed Records During Async Operation
2 participants