public static SupportedVersionRange fromMap(Map<String, Short> versionRangeMap) {
        return new SupportedVersionRange(
            BaseVersionRange.valueOrThrow(MIN_VERSION_KEY_LABEL, versionRangeMap),
            BaseVersionRange.valueOrThrow(MAX_VERSION_KEY_LABEL, versionRangeMap));
    }
An extended {@link BaseVersionRange} representing the min/max versions for a supported feature.
clients/src/main/java/org/apache/kafka/common/feature/SupportedVersionRange.java