public KafkaFuture<Map<String, TransactionDescription>> all() {
        return KafkaFuture.allOf(futures.values().toArray(new KafkaFuture[0]))
            .thenApply(nil -> {
                Map<String, TransactionDescription> results = new HashMap<>(futures.size());
                for (Map.Entry<CoordinatorKey, KafkaFuture<TransactionDescription>> entry : futures.entrySet()) {
                    try {
                        results.put(entry.getKey().idValue, entry.getValue().get());
                    } catch (InterruptedException | ExecutionException e) {
                        // This should be unreachable, because allOf ensured that all the futures completed successfully.
                        throw new RuntimeException(e);
                    }
                }
                return results;
            });
    }
Get a future which returns a map of the transaction descriptions requested in the respective
call to {@link Admin#describeTransactions(Collection, DescribeTransactionsOptions)}.

If the description fails on any of the transactional IDs in the request, then this future
will also fail.

@return a future which either completes when all transaction descriptions complete or fails
        if any of the descriptions cannot be obtained
clients/src/main/java/org/apache/kafka/clients/admin/DescribeTransactionsResult.java