@Override
    public CompletableFuture<Void> write(ByteBuf part) {
        if (largeObjectWriter != null) {
            return largeObjectWriter.write(part);
        } else {
            objectWriter.write(part);
            if (objectWriter.isFull()) {
                newLargeObjectWriter(writeOptions, objectStorage, path);
            }
            return objectWriter.cf;
        }
    }
If object data size is less than ObjectWriter.MAX_UPLOAD_SIZE, we should use single upload to upload it.
Else, we should use multi-part upload to upload it.
s3stream/src/main/java/com/automq/stream/s3/operator/ProxyWriter.java