[Bug] Dynamically expanding partitions leads to a continuous increase in the number of consumers #23936
Open
2 of 3 tasks
Labels
type/bug
The PR fixed a bug or issue reported a bug
Search before asking
Read release policy
Version
java 1.8
pulsar client 2.7.2
pulsar broker 2.7.2
Minimal reproduce step
The broker notified the consumer to go offline while triggering the execution of the dynamic expansion partition task. Reconnected consumers cannot be restored
What did you expect to see?
No need to exclude consumers, during the process of reconnecting consumers
What did you see instead?
consumers.entrySet().removeIf(e -> TopicName.get(e.getKey()).getPartitionedTopicName().equals(topicName) && !e.getValue().isConnected());
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: