This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.35k
stars
1.99k
forks
source link
[FEATURE REQ] stageBlock should support InputStream without mark/reset support #42603
Is your feature request related to a problem? Please describe.
I am adding Azure SDK support to S3Proxy. I am trying to implement S3 upload part and translate it into Azure SDK. gaul/s3proxy#708
Describe the solution you'd like
I would like a stageBlockFromOutputStream method which returns an OutputStream to stage a block with. This would be similar to the existing non-multipart upload methods.
Describe alternatives you've considered
I considered using stageBlock with a BufferedInputStream but this could lead to large memory use.
Additional context
Add any other context or screenshots about the feature request here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
Is your feature request related to a problem? Please describe. I am adding Azure SDK support to S3Proxy. I am trying to implement S3 upload part and translate it into Azure SDK. gaul/s3proxy#708
Describe the solution you'd like I would like a stageBlockFromOutputStream method which returns an OutputStream to stage a block with. This would be similar to the existing non-multipart upload methods.
Describe alternatives you've considered I considered using stageBlock with a BufferedInputStream but this could lead to large memory use.
Additional context Add any other context or screenshots about the feature request here.
Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report