[FEATURE REQ] Storage: Better Stream support #13392
Labels
Client
This issue points to a problem in the data-plane of the library.
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.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
Service Attention
Workflow: This issue is responsible by Azure service team.
Storage
Storage Service (Queues, Blobs, Files)
Hi Guys,
Using latest SDK: 12.4.4
We're migrating to the Azure and was a bit surprised the SDK does not have "full" Stream support.
Imagine we have following code that writes stream:
In the code above, CreateOutputStream, creates file based stream.
With current API we cannot migrate to the Azure blob storage without significant code changes, currently to upload the blow there is only one method Upload that accepts stream that must "pre exists". In other words, you have to have a stream already, and in order to get one you must create it on the memory or file. Creating it on memory is not acceptable for us as files might be big, creating on the file system in not acceptable because of the load and space limitations.
Suggestions:
Add API to expose upload/download stream explicitly.
Like:
This will fully enable Stream.CopyTo() functionality and will make integration with existing code way simpler.
Seems similar issues:
#9607
The text was updated successfully, but these errors were encountered: