public void write(ByteBuf data) {
            size += data.readableBytes();
            // ensure addComponent happen before following write or copyWrite.
            this.lastRangeReadCf = lastRangeReadCf.thenAccept(nil -> partBuf.addComponent(true, data));
        }
The minPartSize represents the minimum size of a part for a multipart object.
s3stream/src/main/java/com/automq/stream/s3/operator/MultiPartWriter.java