@Override
        public final Collection<RequestAndKeys<K>> buildRequest(int brokerId, Set<K> keys) {
            return Collections.singleton(new RequestAndKeys<>(buildBatchedRequest(brokerId, keys), keys));
        }
An {@link AdminApiHandler} that will group multiple keys into a single request when possible.
Keys will be grouped together whenever they target the same broker. This type of handler
should be used when interacting with broker APIs that can act on multiple keys at once, such
as describing or listing transactions.
clients/src/main/java/org/apache/kafka/clients/admin/internals/AdminApiHandler.java