Skip to content

MINOR: Fix race conditions in KafkaStreams when topic is missing. #20362

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

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

chickenchickenlove
Copy link
Contributor

@chickenchickenlove chickenchickenlove commented Aug 16, 2025

Background

There is race condition in ConsumerNetworkThread for Kafka Streams with new_protocol.
So it make HandlingSourceTopicDeletionIntegrationTest#shouldThrowErrorAfterSourceTopicDeleted be flaky.
Please refer to details in attached sequence diagram.
image

CC. @mjsax

Result

  • Fixes flaky test HandlingSourceTopicDeletionIntegrationTest#shouldThrowErrorAfterSourceTopicDeleted.

Related

@github-actions github-actions bot added triage PRs from the community consumer clients small Small PRs labels Aug 16, 2025
@chickenchickenlove
Copy link
Contributor Author

@mjsax sorry to mention.
Could you take a look this PR?
It is related with Kafka streams!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clients consumer small Small PRs triage PRs from the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant