Azure / Azure/azure-sdk-for-java

[FEATURE REQ] stageBlock should support InputStream without mark/reset support

Open
#42,603 6 comments 5 reactions 1 assignee Claimed by @ibrandes View on GitHub
customer-reported feature-request needs-team-attention Storage
Dominant language
Java
Stars
2.6k
Forks
2.2k
Avg merge
2d 8h
Merged PRs (30d)
178

Description

**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
- [x] Description Added
- [x] Expected solution specified

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.