@Override
        public void release() {
            if (!freed) {
                pack.release();
                freed = true;
            } else {
                LOGGER.warn("PooledMemoryRecords[{}] has been freed", this, new RuntimeException());
            }
        }
Return the largest timestamp of the messages after a given offset

@param startOffset The starting offset.
@return The largest timestamp of the messages after the given position.
core/src/main/scala/kafka/log/streamaspect/ElasticLogFileRecords.java