payload-offloading-java-common-lib-for-aws icon indicating copy to clipboard operation
payload-offloading-java-common-lib-for-aws copied to clipboard

Add delete payload batch feature.

Open richardsmithsfdc opened this issue 11 months ago • 1 comments

Issue #, if available:

Description of changes:

Add ability to delete a batch of offloaded payloads. By using S3 DeleteObjects, it can reduce the number of separate calls to S3 to one-per-bucket, which should improve efficiency.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

richardsmithsfdc avatar Mar 13 '24 19:03 richardsmithsfdc

@ziyanli-amazon , can you take a look at this PR, and the related PR https://github.com/awslabs/amazon-sqs-java-extended-client-lib/pull/148 . I'm trying to fix that issue I pointed out when the sync/async delete in SQS extended client have slightly different behavior. This batch delete operation is something we are currently using in our code.

richardsmithsfdc avatar Mar 13 '24 20:03 richardsmithsfdc