Technoboy- commented on a change in pull request #13337:
URL: https://github.com/apache/pulsar/pull/13337#discussion_r774862415
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/SystemTopicBasedTopicPoliciesService.java
##########
@@ -200,6 +200,20 @@ public TopicPolicies getTopicPolicies(TopicName topicName,
:
policiesCache.get(TopicName.get(topicName.getPartitionedTopicName()));
}
+ @Override
+ public CompletableFuture<Void> removeTopicPoliciesCache(TopicName
topicName) {
+ NamespaceName namespace = topicName.getNamespaceObject();
+ CompletableFuture<SystemTopicClient.Reader<PulsarEvent>>
readerCompletableFuture =
Review comment:
Get it. hard to get the writers reference, let me think how to process
this case. Do you have any good idea?
> When the client receives the command, it only closes without reconnecting.
We may create a new PIP for discussing it.
--
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]