ragaur-tibco opened a new issue, #22527:
URL: https://github.com/apache/pulsar/issues/22527

   ### Search before asking
   
   - [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 don't get bug fixes. I will 
attempt to reproduce the issue on a supported version of Pulsar client and 
Pulsar broker.
   
   
   ### Version
   
   3.2.2
   
   ### Minimal reproduce step
   
   Below are the steps to reproduce:
   
   - Run the below commands to create tenant then namespace and then topic:
   
   `bin/pulsar-admin tenants create my-tenant
   bin/pulsar-admin namespaces create my-tenant/new-name
   bin/pulsar-admin topics create  persistent://my-tenant/new-name/topic-pers
    bin/pulsar-admin topics create non-persistent://my-tenant/new-name/topic-non
    bin/pulsar-admin topics create  persistent://my-tenant/new-name/topic-pers-1
    bin/pulsar-admin topics create 
non-persistent://my-tenant/new-name/topic-non-1`
   
   - Run the below command to list the topics present in namespace
   `bin/pulsar-admin topics list my-tenant/new-name`
   
   ### What did you expect to see?
   
   All the topics which we have created should be present in the namespace
   
   ### What did you see instead?
   
   Sometimes after running the command to list the topics only one topic is 
showing or sometime two topics and sometimes 0 topics
   
   
![image](https://github.com/apache/pulsar/assets/119859927/b6bf908d-e019-4826-8576-2e7806d6997b)
   
   And while running the pulsar client to send the messages from the producer 
and consume in consumer side below logs from pulsar client SDK
   
   `2024-04-18T08:18:55,054 DEBUG [pulsar-client-io-1-3] 
org.apache.pulsar.common.protocol.PulsarDecoder - [localhost/127.0.0.1:6650] 
Received cmd GET_TOPICS_OF_NAMESPACE_RESPONSE
   2024-04-18T08:18:55,054 DEBUG [pulsar-client-io-1-3] 
org.apache.pulsar.client.impl.ClientCnx - [id: 0x7c29b63d, L:/127.0.0.1:50936 - 
R:localhost/127.0.0.1:6650] Received get topics of namespace success response 
from server: 3411313542779248996 - topics.size: 0
   2024-04-18T08:18:55,055 DEBUG [pulsar-client-io-1-3] 
org.apache.pulsar.client.impl.BinaryProtoLookupService - [namespace: 
my-tenant/new-name] Success get topics list in request: 3411313542779248996
   2024-04-18T08:18:55,055 DEBUG [pulsar-client-io-1-3] 
org.apache.pulsar.client.impl.PulsarClientImpl - Get topics under namespace 
my-tenant/new-name, topics.size: 0, topicsHash: 00000000, changed: true, 
filtered: true
   2024-04-18T08:18:55,808 DEBUG [pulsar-client-io-1-3] 
org.apache.pulsar.client.impl.PatternMultiTopicsConsumerImpl - Not creating 
topic list watcher for subscription mode ALL`
   
   NOTE: we were trying to use the multi-topic subscription and using the 
ALLTopics and sending the messages to all persistent and non-persistent topics
   
   ### 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]

Reply via email to