Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
gaul opened this issue Oct 27, 2024 · 2 comments
Open
2 tasks done
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request This issue requires a new behavior in the product in order be resolved. Storage Storage Service (Queues, Blobs, Files)

Comments

@gaul
Copy link

gaul commented Oct 27, 2024

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
@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Oct 27, 2024
@joshfree joshfree added Storage Storage Service (Queues, Blobs, Files) feature-request This issue requires a new behavior in the product in order be resolved. and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Oct 28, 2024
@github-actions github-actions bot removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Oct 28, 2024
@joshfree
Copy link
Member

Hi @gaul thanks for reaching out to us via this GitHub issue. Someone from the Azure Storage team will follow up

@gaul
Copy link
Author

gaul commented Nov 2, 2024

Are put blob and put block basically the same? Does BlobOutputStream just need to add comp=block&blockid=id HTTP parameters to do what I want?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request This issue requires a new behavior in the product in order be resolved. Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

No branches or pull requests

2 participants