GitHub user river1017 closed a discussion: Pulsar auto delete policy

I changed the configuration in pulsar's configuration file broker.conf to

brokerDeleteInactiveTopicsEnabled: true
brokerDeleteInactiveTopicsMode: delete_when_no_subscriptions
brokerDeleteInactiveTopicsMaxInactiveDurationSeconds: 120

Then I restarted pulsar's docker container and sent a message to the topic 
"persistent://t_test/proj_test/web_hook_test", but when time passed, the topic 
was not removed and the admin rest api could query the topic information.
This topic does not have subscribers and the data returned by queries through 
the interface 
"/admin/v2/persistent/t_test/proj_test/web_hook_test/subscriptions" is empty


GitHub link: https://github.com/apache/pulsar/discussions/22697

----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@pulsar.apache.org

Reply via email to