lhotari opened a new issue, #25192:
URL: https://github.com/apache/pulsar/issues/25192

   ### Search before reporting
   
   - [x] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Read release policy
   
   - [x] I understand that [unsupported 
versions](https://pulsar.apache.org/contribute/release-policy/#supported-versions)
 don't get bug fixes. I will attempt to reproduce the issue on a supported 
version of Pulsar client and Pulsar broker.
   
   
   ### User environment
   
   All released versions
   
   ### Issue Description
   
   The topic list watcher is using 
org.apache.pulsar.broker.namespace.NamespaceService#getListOfPersistentTopics 
for listing topics and in addition, 
org.apache.pulsar.broker.resources.TopicResources#handleNotification doesn't 
filter out system topics. When a new system topic is added to the namespace, 
and the pattern is matching all topics, it would get passed to the client as a 
new topic to be subscribed to. 
   The expectation is that pattern (regex) topic consumer doesn't subscribe to 
system topics.
   New system topics can be created by Pulsar's transaction support. The 
transaction support uses system topics that end with certain suffixes, for 
example with the  `__transaction_pending_ack` suffix.
   
   ### Error messages
   
   ```text
   
   ```
   
   ### Reproducing the issue
   
   n/a
   
   ### Additional information
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [x] 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]

Reply via email to