| Package | Description |
|---|---|
| org.apache.pulsar.transaction.coordinator |
Classes for implementing pulsar transaction coordinator.
|
| Modifier and Type | Method and Description |
|---|---|
TxnMeta |
TxnMeta.addAckedPartitions(List<TransactionSubscription> subscriptions)
Add the list of acked partitions to the transaction.
|
TxnMeta |
TxnMeta.addProducedPartitions(List<String> partitions)
Add the list of produced partitions to the transaction.
|
void |
TransactionRecoverTracker.updateTransactionStatus(long sequenceId,
TxnStatus txnStatus)
Handle recover transaction update status.
|
TxnMeta |
TxnMeta.updateTxnStatus(TxnStatus newStatus,
TxnStatus expectedStatus)
Update the transaction stats from the newStatus only when
the current status is the expected expectedStatus.
|
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.