@Override
    public long nextOffset() {
        return endOffset != Offsets.NOOP_OFFSET ? endOffset : (stream.nextOffset() - startOffsetInStream);
    }
the real start offset of this segment in the stream.
core/src/main/scala/kafka/log/streamaspect/DefaultElasticStreamSlice.java