merlimat commented on a change in pull request #7093: URL: https://github.com/apache/pulsar/pull/7093#discussion_r432787179
########## File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/AbstractTopic.java ########## @@ -423,5 +428,13 @@ public long getBytesOutCounter() { return getStats(false).bytesOutCounter; } + public boolean isBrokerDeleteInactiveTopicsEnabled() { + return brokerDeleteInactiveTopicsEnabled; + } + + public void setBrokerDeleteInactiveTopicsEnabled(boolean brokerDeleteInactiveTopicsEnabled) { Review comment: How is this supposed to be activated? Instead, we need a namespace policy, attached to https://pulsar.apache.org/admin-rest-api/?version=2.5.2#operation/setAutoTopicCreation that adds the auto-deletion override configuration, on top of the auto-creation ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org