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/05/27 12:20:34 UTC

[GitHub] [pulsar] congbobo184 commented on a change in pull request #10725: [Transaction] Transaction admin api get pending ack internal stats

congbobo184 commented on a change in pull request #10725:
URL: https://github.com/apache/pulsar/pull/10725#discussion_r640569018



##########
File path: pulsar-client-admin-api/src/main/java/org/apache/pulsar/client/admin/Transactions.java
##########
@@ -135,9 +137,51 @@
      *
      * @return the metadata of slow transactions.
      */
-    CompletableFuture<Map<String, TransactionMetadata>> getSlowTransactions(long timeout,
-                                                                            TimeUnit timeUnit) throws Exception;
+    Map<String, TransactionMetadata> getSlowTransactions(long timeout, TimeUnit timeUnit) throws PulsarAdminException;
 
+    /**
+     * Get transaction coordinator internal stats.
+     *
+     * @param coordinatorId the coordinator ID
+     * @param metadata is get ledger metadata

Review comment:
       whether to get metadata




-- 
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:
users@infra.apache.org