default Map<T, Throwable> handleUnsupportedVersionException(
        UnsupportedVersionException exception,
        Set<T> keys
    ) {
        return keys.stream().collect(Collectors.toMap(k -> k, k -> exception));
    }
Callback that is invoked when a lookup request hits an UnsupportedVersionException.
Keys for which the exception cannot be handled and the request shouldn't be retried must be mapped
to an error and returned. The remainder of the keys will then be unmapped and the lookup request will
be retried for them.

@return The failure mappings for the keys for which the exception cannot be handled and the
request shouldn't be retried. If the exception cannot be handled all initial keys will be in
the returned map.
clients/src/main/java/org/apache/kafka/clients/admin/internals/AdminApiLookupStrategy.java