public void replay(FenceBrokerRecord record) {
        BrokerRegistration curRegistration = getBrokerOrThrow(record.id(), record.epoch(), "fence");
        changedBrokers.put(record.id(), Optional.of(curRegistration.cloneWith(
            BrokerRegistrationFencingChange.FENCE.asBoolean(),
            Optional.empty(),
            Optional.empty()
        )));
    }
Represents changes to the cluster in the metadata image.
metadata/src/main/java/org/apache/kafka/image/ClusterDelta.java