@InterfaceAudience.Private @InterfaceStability.Evolving public interface TransactionBufferClient
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<TxnID> |
abortTxnOnSubscription(String topic,
String subscription,
long txnIdMostBits,
long txnIdLeastBits)
Abort the transaction associated with the topic subscription.
|
CompletableFuture<TxnID> |
abortTxnOnTopic(String topic,
long txnIdMostBits,
long txnIdLeastBits,
List<MessageId> messageIdList)
Abort the transaction associated with the topic.
|
void |
close() |
CompletableFuture<TxnID> |
commitTxnOnSubscription(String topic,
String subscription,
long txnIdMostBits,
long txnIdLeastBits)
Commit the transaction associated with the topic subscription.
|
CompletableFuture<TxnID> |
commitTxnOnTopic(String topic,
long txnIdMostBits,
long txnIdLeastBits,
List<MessageId> messageIdList)
Commit the transaction associated with the topic.
|
CompletableFuture<TxnID> commitTxnOnTopic(String topic, long txnIdMostBits, long txnIdLeastBits, List<MessageId> messageIdList)
topic - topic nametxnIdMostBits - the most bits of txn idtxnIdLeastBits - the least bits of txn idCompletableFuture<TxnID> abortTxnOnTopic(String topic, long txnIdMostBits, long txnIdLeastBits, List<MessageId> messageIdList)
topic - topic nametxnIdMostBits - the most bits of txn idtxnIdLeastBits - the least bits of txn idCompletableFuture<TxnID> commitTxnOnSubscription(String topic, String subscription, long txnIdMostBits, long txnIdLeastBits)
topic - topic namesubscription - subscription nametxnIdMostBits - the most bits of txn idtxnIdLeastBits - the least bits of txn idCompletableFuture<TxnID> abortTxnOnSubscription(String topic, String subscription, long txnIdMostBits, long txnIdLeastBits)
topic - topic namesubscription - subscription nametxnIdMostBits - the most bits of txn idtxnIdLeastBits - the least bits of txn idvoid close()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.