@Override
    public boolean equals(Object o) {
        if (!(o instanceof FinalizedControllerFeatures)) return false;
        FinalizedControllerFeatures other = (FinalizedControllerFeatures) o;
        return featureMap.equals(other.featureMap) && epoch == other.epoch;
    }
A map of feature names to their supported versions.
metadata/src/main/java/org/apache/kafka/metadata/FinalizedControllerFeatures.java