| 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 |
|---|---|
CompletableFuture<Void> |
Consumer.acknowledgeAsync(MessageId messageId,
Transaction txn)
Asynchronously acknowledge the consumption of a single message, it will store in pending ack.
|
CompletableFuture<Void> |
Consumer.acknowledgeCumulativeAsync(MessageId messageId,
Transaction txn)
Acknowledge the reception of all the messages in the stream up to (and including) the provided message with this
transaction, it will store in transaction pending ack.
|
TypedMessageBuilder<T> |
Producer.newMessage(Transaction txn)
Create a new message builder with transaction.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Transaction> |
TransactionBuilder.build()
Build the transaction with the configured settings.
|
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.