@Override
        public final Collection<RequestAndKeys<K>> buildRequest(int brokerId, Set<K> keys) {
            return keys.stream()
                .map(key -> new RequestAndKeys<>(buildSingleRequest(brokerId, key), Collections.singleton(key)))
                .collect(Collectors.toSet());
        }
An {@link AdminApiHandler} that will create one request per key, not performing any grouping based
on the targeted broker. This type of handler should only be used for broker APIs that do not accept
multiple keys at once, such as initializing a transactional producer.
clients/src/main/java/org/apache/kafka/clients/admin/internals/AdminApiHandler.java