DynamoDBMapperConfig.DefaultBatchWriteRetryStrategy equivalent in DynamoDB SDK for Java v2
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 1k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 51
Description
### Describe the feature
I'd like to request features which were available in the V1 SDK but missing in the V2 SDK below:
* Automatic retries for unprocessedItems: DynamoDBMapper#batchSave in the V1 SDK was capable of handling retries of unprocessedItems. However, in the V2 SDK, there seems to be no out of the box equivalent.
* Automatic breaking down of a large batch into smaller batches: DynamoDBMapper#batchSave in the V1 SDK was capable of breaking a large batch which contains more than 25 items or exceeds the request size limit of 1MB into smaller chunks. The V2 SDK doesn't seem to be capable of this.
More details can be found in: https://stackoverflow.com/questions/78495172/dynamodb-java-sdk-v2-client-batchwrite-retries
### Use Case
It was available in the V1 SDK. I have to implement these myself after migrating to the V2 SDK otherwise.
### Proposed Solution
_No response_
### Other Information
_No response_
### Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
### AWS Java SDK version used
2.29.6
### JDK version used
any
### Operating System and version
any
Contributor guide
Assessment
This issue has not been assessed yet.