I am new to AWS S3 SDK and need guidance on using S3Waiter.waitUntilObjectExists()
I could not find any exact examples. I have a S3 bucket in which every four hours files uploaded by upstream processes. I have while(true)
loop which polls for this bucket but it seems to be unnecessary and doing lot of IOs.
I read about S3Waiter.waitUntilObjectExists()
and it seems to be applicable and best practices kind of solution in my case.