@Override
        public Iterator<Record> iterator() {
            return loadFullBatch().iterator();
        }
Log entry backed by an underlying FileChannel. This allows iteration over the record batches
without needing to read the record data into memory until it is needed. The downside
is that entries will generally no longer be readable when the underlying channel is closed.
clients/src/main/java/org/apache/kafka/common/record/FileLogInputStream.java