Package org.apache.kafka.clients.admin
Class AbortTransactionResult
java.lang.Object
org.apache.kafka.clients.admin.AbortTransactionResult
@Evolving public class AbortTransactionResult extends Object
The result of
Admin.abortTransaction(AbortTransactionSpec, AbortTransactionOptions)
.
The API of this class is evolving, see Admin
for details.-
Method Summary
Modifier and Type Method Description KafkaFuture<Void>
all()
Get a future which completes when the transaction specified byAbortTransactionSpec
in the respective call toAdmin.abortTransaction(AbortTransactionSpec, AbortTransactionOptions)
returns successfully or fails due to an error or timeout.
-
Method Details
-
all
Get a future which completes when the transaction specified byAbortTransactionSpec
in the respective call toAdmin.abortTransaction(AbortTransactionSpec, AbortTransactionOptions)
returns successfully or fails due to an error or timeout.- Returns:
- the future
-