I have an on-prem database that has 50GB of JSON data. I'm planning to take the backup of this data to OCI object storage using Java SDK to a single object in a bucket. on-prem database paginates JSON data result. How can I stream/upload each page of data to OCI object storage whenever it arrives? Do I need to use multipart upload? Is there any example that shows the streaming of data to object storage?
The example in SDK shows uploading a file to Objectstorage but my requirement is to stream data without storing it to temp files.