lhotari commented on PR #22034: URL: https://github.com/apache/pulsar/pull/22034#issuecomment-1936364633
There's a scheduled job https://github.com/apache/pulsar/blob/5df97b41a431a714a448c198c312e98aa4a084e8/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java#L653-L659 that runs by default every 120 seconds (configured with `retentionCheckIntervalInSeconds`). That iterates all active topics and their managed ledgers: https://github.com/apache/pulsar/blob/5df97b41a431a714a448c198c312e98aa4a084e8/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java#L2041-L2051 This works as long as the topic is active (loaded) in a broker in the cluster. -- 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org