public void append(SimpleRecord record) {
        appendWithOffset(nextSequentialOffset(), record);
    }
Append a new record at the next sequential offset.
@param record The record to append
clients/src/main/java/org/apache/kafka/common/record/MemoryRecordsBuilder.java