alpreu commented on issue #21042:
URL: https://github.com/apache/pulsar/issues/21042#issuecomment-1695865361

   > @alpreu For the non-persistent topic, it can only be listed while clients 
are connected. You can try to create a producer or consumer to the 
non-persistent topic and then list the topics again.
   > 
   
   Yes, but don't you think the behavior should be consistent? I think it is 
weird that non-persistent topics can be listed using `list-partitioned-topics` 
but not using `list-topics`
   
   > > After a while, even the persistent topic is missing from pulsar-admin 
topics list
   > 
   > If there are no connected producers or consumers. The topic will be 
deleted automatically by default. You can try to set 
`brokerDeleteInactiveTopicsEnabled` to false if you don't want the topic to be 
deleted.
   
   Should the output of `get-partitioned-topic-metadata` not show `delete: 
true` in this case?
   
   


-- 
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