@InterfaceStability.Evolving public class DescribeTransactionsResult extends Object
| Modifier and Type | Method and Description |
|---|---|
KafkaFuture<Map<String,TransactionDescription>> | all()Get a future which returns a map of the transaction descriptions requested in the respective call to Admin.describeTransactions(Collection, DescribeTransactionsOptions). |
KafkaFuture<TransactionDescription> | description(String transactionalId)Get the description of a specific transactional ID. |
public KafkaFuture<TransactionDescription> description(String transactionalId)
transactionalId - the transactional ID to describeIllegalArgumentException - if the `transactionalId` was not included in the respective call to Admin.describeTransactions(Collection, DescribeTransactionsOptions).public KafkaFuture<Map<String,TransactionDescription>> all()
Admin.describeTransactions(Collection, DescribeTransactionsOptions). If the description fails on any of the transactional IDs in the request, then this future will also fail.