Gautham Prem Krishnan
Gautham Prem Krishnan
So what is the solution to do retries while using streams as body ? are there any solution for this scenario ?
Would using Upload() method from lib-storage helps in this case ?https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-lib-storage/ as i am guessing this would buffer the parts and buffered parts would be retried depending on the client...
@aBurmeseDev the code is simple, example ``` const stream = createReadStream(filePath) try { await s3.putObject({ Body: stream }); } catch (e) { console.log(e) } ``` s3 uses nodehttphandler with retry...
Ya so my doubt is if I pass in a retry config with maxRetries to s3 client and try to use the Upload() https://github.com/aws/aws-sdk-js-v3/tree/main/lib/lib-storage/example-code and as its using multipart file...