@Override
    public boolean equals(Object o) {
        if (o == null) return false;
        if (!o.getClass().equals(ScramImage.class)) return false;
        ScramImage other = (ScramImage) o;
        return mechanisms.equals(other.mechanisms);
    }
Represents the SCRAM credentials in the metadata image.

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