public void replay(UserScramCredentialRecord record) {
        ScramMechanism mechanism = ScramMechanism.fromType(record.mechanism());
        Map<String, Optional<ScramCredentialData>> userChanges =
                changes.computeIfAbsent(mechanism, __ -> new HashMap<>());
        userChanges.put(record.name(), Optional.of(ScramCredentialData.fromRecord(record)));
    }
Represents changes to a topic in the metadata image.
metadata/src/main/java/org/apache/kafka/image/ScramDelta.java