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

Fix: Ignoring error UnknownTopicOrPartition in partitionWatcher #1316

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

Conversation

arxon31
Copy link

@arxon31 arxon31 commented Aug 6, 2024

Second suggestion to fix issue #1314 with no rebalance after consumer in consumer group receives empty assignment

#1314

Cause of the issue:

  1. Topic is not created
  2. assignPartitions not fail with error
  3. Topic created
  4. partitionWatcher receives count of partitions from topic and fall through in loop
  5. Group never rebalances

Solution:
partitionWatcher should ignore UnknownTopicOrPartition error and fall to loop with 0 start partitions count

@arxon31 arxon31 changed the title Fix: Ignoring error UnknownTopicOrPartition from readPartitions Fix: Ignoring error UnknownTopicOrPartition in partitionWatcher Aug 6, 2024
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.

1 participant