@Override
    public Iterable<MutableRecordBatch> batches() {
        return batches;
    }
Get the byte buffer that backs this instance for reading.
clients/src/main/java/org/apache/kafka/common/record/MemoryRecords.java