Comments (8)
@ibrahimrabab @ibrandes @seanmcc-msft
from azure-sdk-for-java.
Thank you for your feedback. Tagging and routing to the team member best able to assist.
from azure-sdk-for-java.
Hi @kirankumar994, since FilePart.content()
is part of your code, this is what needs to be changed to return ByteBuffer
s larger than 1024 bytes. Once you increase that, you should use less blocks to upload large files. For reference, within the SDKs we have a method that uploads a file as blocks which uses a default block size of 4MB (4,194,304 bytes).
Optionally, if you don't want to write you own implementation for uploading a file, you can always use BlobAsyncClient.uploadFromFileWithResponse
which allows for you to pass BlobUploadFromFileOptions
where you can configure the SDK to upload blocks of a certain size.
Marking as resolved as this is either a need to change your code to produce larger blocks or to migrate to the API within the SDK. Other than that, this is expected behavior by the service as 100,000 uncommitted blocks is an explicit limitation:
https://learn.microsoft.com/rest/api/storageservices/put-block?tabs=microsoft-entra-id#remarks
from azure-sdk-for-java.
Hi @kirankumar994. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.
from azure-sdk-for-java.
"/unresolve".
Hi @alzimmermsft ,
Could you please me how to increase filepart.content() to make larger chunks to return ByteBuffer larger than 1024 bytes with the above code? I have tried to increase, but it always emits 1024 bytes. Thank you so much in advance.
from azure-sdk-for-java.
Unfortunately, I'm unable to provide a way to increase the output of FilePart.content()
as that isn't part of SDK and I have no knowledge of how it works.
from azure-sdk-for-java.
Okay, Thank you for your response @alzimmermsft .
from azure-sdk-for-java.
Hi @kirankumar994. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.
from azure-sdk-for-java.
Related Issues (20)
- [Test Improvement] Document Intelligence quota issues when running tests
- [BUG] flooding with "POST /v2.1/track" dependencies HOT 4
- [FEATURE REQ] Provide a easy way to use Azure Schema Registry in Spring Cloud Azure HOT 2
- [BUG]: Evaluate session container clearance and retry behavior in `RenameCollectionAwareClientRetryPolicy`
- [Tests Improvement] Formrecognizer custom form tests timing out
- [OpenAI] Support 2024-07-01-preview
- [BUG] azure-ai-openai - BinaryData.toObject doesn't convert tools in 1.0.0-beta.10 HOT 15
- [Question] How to implement batch message receiving in the Java version of the Event Hub SDK? HOT 4
- [QUERY] Spring Cloud Azure 5.14.0 availability on Maven Central HOT 4
- [BUG] - Resend the message from Service Bus is not working while consuming the message from Function code ( Error - This body type not is supported: VALUE) HOT 5
- [BUG] CosmosDiagnosticContext producing fatal error related to startOperation being called multiple times after package upgrade HOT 2
- [BUG] LogsIngestionClient does not use its ThreadPool for processing HOT 2
- [BUG] Azure OpenAI SDK: cannot use HTTP calls when using local endpoint HOT 1
- [Question] Playback doesn't work on LRO calls HOT 1
- Should azure core add InstrumentationPolicy by default whenever azure core httpclient is used HOT 2
- Cloud Shell ManagedIdentitySource should throw if a user-assigned managed identity clientID or resourceID is supplied HOT 1
- [Identity] AzurePipelinesCredential parameterless constructor and add to DAC HOT 2
- [Identity] Create a new credential to support FIC in Github Actions HOT 2
- [BUG] spring-cloud-azure-starter-keyvault-secrets (5.14.0) - vulnerabilities in dependent netty-handler (4.1.111.Final) library HOT 5
- [BUG] 500/20910 Exceptions Should Fail Fast
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-java.