long firstOffset() {
            return firstOffset;
        }
The InFlightBatch maintains the in-memory state of the fetched records i.e. in-flight records.
core/src/main/java/kafka/server/share/SharePartition.java