@Override
    public Iterable<Record> records() {
        return records;
    }
Get an iterator over the deep records.
@return An iterator over the records
clients/src/main/java/org/apache/kafka/common/record/AbstractRecords.java