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/10/11 01:27:32 UTC

[GitHub] [pulsar] gaoran10 commented on a change in pull request #12215: fix delete authentication policies when delete topic.

gaoran10 commented on a change in pull request #12215:
URL: https://github.com/apache/pulsar/pull/12215#discussion_r725736847



##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java
##########
@@ -984,6 +988,31 @@ public void deleteLedgerFailed(ManagedLedgerException exception, Object ctx) {
         return future;
     }
 
+    public CompletableFuture<Void> deleteTopicAuthenticationWithRetry(String topic) {
+        AtomicReference<CompletableFuture<Void>> result = new AtomicReference<>(new CompletableFuture<>());

Review comment:
       Could we use the `CompletableFuture<Void>` directly?




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