public interface Transactions
CompletableFuture<TransactionCoordinatorStats> getCoordinatorStatsById(int coordinatorId)
coordinatorId - the id which get transaction coordinatorCompletableFuture<Map<Integer,TransactionCoordinatorStats>> getCoordinatorStats()
CompletableFuture<TransactionInBufferStats> getTransactionInBufferStats(org.apache.pulsar.client.api.transaction.TxnID txnID, String topic)
txnID - the txnIdtopic - the produce topicCompletableFuture<TransactionInPendingAckStats> getTransactionInPendingAckStats(org.apache.pulsar.client.api.transaction.TxnID txnID, String topic, String subName)
txnID - the txnIdtopic - the ack topicsubName - the subscription name of this transaction ackCompletableFuture<TransactionMetadata> getTransactionMetadata(org.apache.pulsar.client.api.transaction.TxnID txnID)
txnID - the ID of this transactionCompletableFuture<TransactionBufferStats> getTransactionBufferStats(String topic)
topic - the topic of getting transaction buffer statsCompletableFuture<TransactionPendingAckStats> getPendingAckStats(String topic, String subName)
topic - the topic of this transaction pending ack statssubName - the subscription name of this transaction pending ack statsCompletableFuture<Map<String,TransactionMetadata>> getSlowTransactionsByCoordinatorIdAsync(Integer coordinatorId, long timeout, TimeUnit timeUnit)
coordinatorId - the coordinator id of getting slow transaction status.timeout - the timeouttimeUnit - the timeout timeUnitMap<String,TransactionMetadata> getSlowTransactionsByCoordinatorId(Integer coordinatorId, long timeout, TimeUnit timeUnit) throws Exception
coordinatorId - the coordinator id of getting slow transaction status.timeout - the timeouttimeUnit - the timeout timeUnitExceptionCompletableFuture<Map<String,TransactionMetadata>> getSlowTransactionsAsync(long timeout, TimeUnit timeUnit)
timeout - the timeouttimeUnit - the timeout timeUnitCompletableFuture<Map<String,TransactionMetadata>> getSlowTransactions(long timeout, TimeUnit timeUnit) throws Exception
timeout - the timeouttimeUnit - the timeout timeUnitExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.