public static LeaderChangeMessage deserializeLeaderChangeMessage(ByteBuffer data) {
        return new LeaderChangeMessage(new ByteBufferAccessor(data.slice()), LEADER_CHANGE_CURRENT_VERSION);
    }
Utility class for easy interaction with control records.
clients/src/main/java/org/apache/kafka/common/record/ControlRecordUtils.java