| Package | Description |
|---|---|
| org.apache.pulsar.client.api |
Pulsar Client API.
|
| org.apache.pulsar.client.api.transaction |
Pulsar transaction related API.
|
| Modifier and Type | Method and Description |
|---|---|
TransactionBuilder |
PulsarClient.newTransaction()
Create a transaction builder that can be used to configure
and construct a transaction.
|
| Modifier and Type | Method and Description |
|---|---|
TransactionBuilder |
TransactionBuilder.withTransactionTimeout(long timeout,
TimeUnit timeoutUnit)
Configure the maximum amount of time that the transaction
coordinator will for a transaction to be completed by the
client before proactively aborting the ongoing transaction.
|
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.