forked from apache/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Transaction] Transaction admin api get slow transaction metadata. (a…
…pache#10701) Co-authored-by: congbo <[email protected]> ## Motivation Transaction add admin api `getSlowTransactions` Transaction add admin api `getSlowTransactionsByCoordinatorId` ## implement @DaTa public class TransactionMetadata { /** The txnId of this transaction. */ public String txnId; /** The status of this transaction. */ public String status; /** The open time of this transaction. */ public long openTimestamp; /** The timeout of this transaction. */ public long timeoutAt; /** The producedPartitions of this transaction. */ public Map<String, TransactionInBufferStats> producedPartitions; /** The ackedPartitions of this transaction. */ public Map<String, Map<String, TransactionInPendingAckStats>> ackedPartitions; }
- Loading branch information
1 parent
2cfed8c
commit 4b86c26
Showing
10 changed files
with
388 additions
and
78 deletions.
There are no files selected for viewing
264 changes: 188 additions & 76 deletions
264
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/TransactionsBase.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters