Skip to content

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

Open
@gaul

Description

@gaul

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

  • Description Added
  • Expected solution specified

Metadata

Metadata

Assignees

No one assigned

    Labels

    StorageStorage Service (Queues, Blobs, Files)customer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-requestThis issue requires a new behavior in the product in order be resolved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions