private static <ValueType> String mapToString(final Map<String, ValueType> featureVersionsMap) {
        return String.format(
            "{%s}",
            featureVersionsMap
                .entrySet()
                .stream()
                .map(entry -> String.format("(%s -> %s)", entry.getKey(), entry.getValue()))
                .collect(joining(", "))
        );
    }
Returns a map of supported feature versions. Each entry in the map contains a key being a
feature name and the value being a range of versions supported by a particular broker in the
cluster.
clients/src/main/java/org/apache/kafka/clients/admin/FeatureMetadata.java