@Override
    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof FeatureMetadata)) {
            return false;
        }

        final FeatureMetadata that = (FeatureMetadata) other;
        return Objects.equals(this.finalizedFeatures, that.finalizedFeatures) &&
            Objects.equals(this.finalizedFeaturesEpoch, that.finalizedFeaturesEpoch) &&
            Objects.equals(this.supportedFeatures, that.supportedFeatures);
    }
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