You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/01/20 08:00:58 UTC

[GitHub] [pulsar] aloyszhang commented on a change in pull request #9222: Provide different zk for global/local in MockedPulsarServiceBaseTest

aloyszhang commented on a change in pull request #9222:
URL: https://github.com/apache/pulsar/pull/9222#discussion_r560745783



##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/namespace/NamespaceService.java
##########
@@ -1147,7 +1147,7 @@ public ServiceUnitId getServiceUnitId(TopicName topicName) throws Exception {
             LOG.debug("Getting children from partitioned-topics now: {}", path);
         }
 
-        return pulsar.getLocalZkCache().getChildrenAsync(path, null).thenCompose(topics -> {
+        return pulsar.getGlobalZkCache().getChildrenAsync(path, null).thenCompose(topics -> {

Review comment:
       of course, thanks for your suggestion.
   




----------------------------------------------------------------
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:
users@infra.apache.org