lhotari commented on code in PR #24762:
URL: https://github.com/apache/pulsar/pull/24762#discussion_r2362628580


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/NamespacesBase.java:
##########
@@ -2907,5 +2908,16 @@ protected CompletableFuture<Set<String>> 
internalGetNamespaceAllowedClustersAsyn
                 .thenApply(policies -> policies.allowed_clusters);
     }
 
-
+    private BundlesData getDefaultBundleData() {
+        Optional<Policies> nsPolicies;
+        try {
+            nsPolicies = namespaceResources().getPolicies(namespaceName);

Review Comment:
   This is a blocking method, please refactor the solution so that blocking 
methods aren't used



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

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

Reply via email to