aws-sdk-java icon indicating copy to clipboard operation
aws-sdk-java copied to clipboard

Better customization of DefaultBatchLoadRetryStrategy

Open ZeldaZach opened this issue 4 years ago • 0 comments

Issue #, if available: N/A

Description of changes: The DefaultBatchLoadRetryStrategy did not support customization for the number of retries to attempt. I found this odd as the DefaultBatchWriteRetryStrategy did allow this feature, so I ported a fix over. While a small change, I find this to be a net positive as these operations are very similar and having different ctor args felt off to me.

I'm a SDE within Prime Video and this use case came up for us when we wanted to specify our own Builder config. I find it interesting how we're the first group to want a change to the default max retry count.

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

ZeldaZach avatar Oct 19 '20 16:10 ZeldaZach