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 2022/05/25 04:13:15 UTC

[GitHub] [pulsar] congbobo184 commented on a diff in pull request #15675: [Improve][txn] extend admin tools for transaction buffer.

congbobo184 commented on code in PR #15675:
URL: https://github.com/apache/pulsar/pull/15675#discussion_r881199719


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/namespace/NamespaceService.java:
##########
@@ -181,6 +181,16 @@ public void initialize() {
         }
     }
 
+    public Optional<LookupResult> getBrokerServiceUrl(TopicName topicName, LookupOptions options) {
+        try {
+            return getBrokerServiceUrlAsync(topicName, options).get();

Review Comment:
   change it to async



-- 
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-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org