sijie commented on a change in pull request #6489: [broker] Timeout API calls 
in BrokerService
URL: https://github.com/apache/pulsar/pull/6489#discussion_r389185936
 
 

 ##########
 File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java
 ##########
 @@ -732,6 +733,20 @@ public void unloadNamespaceBundlesGracefully() {
         return future;
     }
 
+    private <T> CompletableFuture<T> futureWithDeadline(Long delay, TimeUnit 
unit, Exception exp) {
 
 Review comment:
   Can we move this into FutureUtil class?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to