public void append(long timestamp, byte[] key, byte[] value, Header[] headers) {
        append(timestamp, wrapNullable(key), wrapNullable(value), headers);
    }
Append a new record at the next sequential offset.
@param timestamp The record timestamp
@param key The record key
@param value The record value
@param headers The record headers if there are any
clients/src/main/java/org/apache/kafka/common/record/MemoryRecordsBuilder.java