andrasbeni commented on code in PR #16901:
URL: https://github.com/apache/pulsar/pull/16901#discussion_r938768857


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/namespace/NamespaceService.java:
##########
@@ -1219,7 +1220,11 @@ private CompletableFuture<List<String>> 
getPartitionsForTopic(TopicName topicNam
     }
 
     public CompletableFuture<List<String>> 
getListOfPersistentTopics(NamespaceName namespaceName) {
-        return 
pulsar.getPulsarResources().getTopicResources().listPersistentTopicsAsync(namespaceName);
+        return 
pulsar.getPulsarResources().getTopicResources().listPersistentTopicsAsync(namespaceName)
+                .thenApply(x -> {
+                    LOG.info("getListOfPersistentTopics: " + x);

Review Comment:
   I don't think it needs to be logged at all. Reverted this part.



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