sijie commented on a change in pull request #10466:
URL: https://github.com/apache/pulsar/pull/10466#discussion_r625475124
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/TopicPoliciesService.java
##########
@@ -84,6 +84,12 @@
void unregisterListener(TopicName topicName,
TopicPolicyListener<TopicPolicies> listener);
+ /**
+ * clean cache and listeners in TopicPolicies and so on.
+ * @param topicName
+ */
+ void clean(TopicName topicName);
Review comment:
```suggestion
default void clean(TopicName topicName) {
throw new UnsupportedOperationException("...");
}
```
--
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:
[email protected]