@Override
    public long getMinOffset() {
        long last = 0L;
        final Segment[] curViews = segmentList.get();
        if (curViews.length == 0) {
            return last;
        }
        for (int i = 0; i < curViews.length; i++) {
            if (curViews[i] == null) {
                continue;
            }
            if (curViews[i].isExpired()) {
                last = curViews[i].getCommitLast();
                continue;
            }
            return curViews[i].getStart();
        }
        return last;
    }
Return the start position of these FileSegments.

@return  the first position
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/broker/msgstore/disk/FileSegmentList.java