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

Cannot listen to partition changes if Topics without subscriptions #1351

Open
fzj55 opened this issue Nov 26, 2024 · 0 comments
Open

Cannot listen to partition changes if Topics without subscriptions #1351

fzj55 opened this issue Nov 26, 2024 · 0 comments
Labels

Comments

@fzj55
Copy link

fzj55 commented Nov 26, 2024

Describe the bug

When the same consumer group subscribes to different topics, the leader cannot monitor the partition changes of another topic.

Kafka Version

  • 2.8
  • main branch

To Reproduce

The same consumer group consumerGroup
Start different instances. Some instances subscribe to topicA, and some instances subscribe to topicB. You can see the leader from the joingroup. Find the topic that the leader subscribes to. Assume it is topicA. Then modify the shards of topicB. You will find that the leader cannot trigger the joingroup.

Expected Behavior

The leader should start partitionWatcher on both topics

Observed Behavior

, but in fact only starts partitionWatcher on the topic which it subscribe.

@fzj55 fzj55 added the bug label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant