lhotari commented on code in PR #20540:
URL: https://github.com/apache/pulsar/pull/20540#discussion_r1447070000


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/AbstractTopic.java:
##########
@@ -1310,6 +1312,23 @@ public HierarchyTopicPolicies 
getHierarchyTopicPolicies() {
         return topicPolicies;
     }
 
+    @Override
+    public void registerTopicCacheCleanupFunction(TopicCacheCleanupFunction 
cleanupFunction) {
+        if (this.cleanupFunction != null) {

Review Comment:
   That shouldn't happen. The logging will tell if that ever happens.



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