public static Map<String, Short> featureImplsToMap(List<FeatureVersion> features) {
        return features.stream().collect(Collectors.toMap(FeatureVersion::featureName, FeatureVersion::featureLevel));
    }
Utility method to map a list of FeatureVersion to a map of feature name to feature level
server-common/src/main/java/org/apache/kafka/server/common/Features.java