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

KAFKA-17299: Fix Kafka streams consumer hang issue #17899

Merged
merged 1 commit into from
Nov 23, 2024
Merged

Conversation

laxman-ch
Copy link
Contributor

Kafka streams consumption completely stops and doesn't recover even after restart of the consumer instance/pod in some special cases where the deserialisation errors occurs for the first message in a batch.

This PR fixes the problem.

@github-actions github-actions bot added streams small Small PRs labels Nov 21, 2024
@laxman-ch
Copy link
Contributor Author

@mjsax : please review

@mjsax mjsax merged commit d36b24f into apache:trunk Nov 23, 2024
1 check passed
@mjsax
Copy link
Member

mjsax commented Nov 23, 2024

Thanks for the PR. Merged to trunk.

I did play around with unit testing, and figured that it's more complex to write a proper unit test, and thus did a PR myself as follow up to this fix: #17919

Both, this fix and the unit test PR should be cherry-picked to older branches. Will do this, once the second PR was merged.

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