public MetadataVersion metadataVersion() {
        return metadataVersion;
    }
Represents the feature levels in the metadata image.

This class is thread-safe.
metadata/src/main/java/org/apache/kafka/image/FeaturesImage.java