@Override
    public void seal() {
        if (!sealed) {
            sealed = true;
            endOffset = stream.nextOffset() - startOffsetInStream;
        }
    }
the real start offset of this segment in the stream.
core/src/main/scala/kafka/log/streamaspect/DefaultElasticStreamSlice.java