DynamoDBMapperConfig.DefaultBatchWriteRetryStrategy equivalent in DynamoDB SDK for Java v2
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Start with the V1 DynamoDBMapper#batchSave behavior and compare it with the V2 DynamoDB batch-write APIs. Investigate how retries for unprocessed items and splitting requests above 25 items or 1 MB could be exposed, then verify that both requested behaviors are covered.
Written by the indexing model from the issue text.
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
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 1k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 39
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aws/aws-sdk-java-v2
-
bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
aws/aws-sdk-java-v2#7379 ·
-
bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
aws/aws-sdk-java-v2#7174 ·
-
bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
aws/aws-sdk-java-v2#7060 ·
-
announcement
Difficulty 3/5 1-2 days Newbie friendliness 25/100
aws/aws-sdk-java-v2#7385 ·
-
bug
aws/aws-sdk-java-v2#7350 · 4 comments · 1 assignee ·
All issues in aws/aws-sdk-java-v2
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100