Question - Async programming with java sdk
mariobriggs opened this issue · comments
Hi,
Does the library support async put operations like the 2nd example in this AWS link
https://docs.aws.amazon.com/sdk-for-java/v2/developer-guide/basics-async.html
thanks in advance
Hi @mariobriggs we currently do not support async requests on the s3 Client. But the TransferManager has that ability, like below;
TransferManager transferManager = TransferManagerBuilder.standard().withS3Client(CLIENT).build(); Upload upload = transferManager.upload(putRequest); upload.waitForUploadResult();
@smcgrath-IBM thanks. It works great 👍
Thats good. I'll close off the issue