public void update() {
            long offset = calculate();
            if (offset != NOOP_OFFSET) {
                confirmOffset.set(offset);
            }
        }
Calculate and update the confirmed offset.
s3stream/src/main/java/com/automq/stream/s3/S3Storage.java