gaecfov opened a new issue, #20427: URL: https://github.com/apache/pulsar/issues/20427
### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Version Server Version: 2.10.2 3.0.0 Client Version: Java 2.10.2 Java 3.0.0 ### Minimal reproduce step 1. Create a topic: my_topic. 2. Subscribe to 'my_topic' with regular expression 'my_.*', enable retry, and subscribe with the name 'my_sub'. 3. When receiving messages, use 'consumer.reconsumeLaterAsync' to retry. 4. Send some messages to 'my_topic'. 5. View the generated RETRY topics. subscribe topic with pattern:my_.* send ### What did you expect to see? There is only one topic named 'my_topic-my_sub-RETRY' ### What did you see instead? Every time I restart the subscription, a new RETRY queue is generated, for example: First time: 'my_topic-my_sub-RETRY', Second time: 'my_topic-my_sub-RETRY-my_sub-RETRY', Third time: 'my_topic-my_sub-RETRY-my_sub-RETRY-my_sub-RETRY'. ### Anything else? _No response_ ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
