lhotari commented on issue #22527: URL: https://github.com/apache/pulsar/issues/22527#issuecomment-2064261034
> There is one more question I would like to ask: If we send messages from the producer with new topics, then the new topics should be created; however, we receive a list of topics in namespace that is zero @ragaur-tibco By default, the messages will get automatically deleted unless you first create consumers with subscriptions. And as @visortelle explained, empty topics will get automatically deleted after some time. You can set retention for the namespace level if you'd like to keep the messages produced to a topic without subscriptions. https://pulsar.apache.org/docs/next/cookbooks-retention-expiry/ explains more. (the doc has some slight details that don't match the implementation, there's [a mailing list discussion](https://lists.apache.org/thread/g3hc3o0kmn1yvcfdj6xnlbq4vsdskx9o) about that) -- 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]
