Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DynamoDB: document retry configuration #1986

Merged
merged 2 commits into from
Oct 16, 2019
Merged

Conversation

ennru
Copy link
Member

@ennru ennru commented Oct 14, 2019

Purpose

Instead of wrapping the DynamoDB calls with retrying in Akka Streams, the AWS SDK 2 built-in "retry with backoff" logic should be used.

References

This seems to be the answer to #767 (which was suggested when Alpakka used AWS SDK 1).
The AWS documentation is not up-to-date right now but indicates that this is a recommended approach.

Changes

@ennru
Copy link
Member Author

ennru commented Oct 14, 2019

This will make #1924 obsolete.

@ennru ennru requested a review from seglo October 14, 2019 14:12
Copy link
Member

@seglo seglo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. You could consider adding a direct link to the DynamoDB javadocs for RetryPolicy, https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/core/retry/RetryPolicy.html

@ennru ennru merged commit f00531f into akka:master Oct 16, 2019
@ennru ennru deleted the dynamodb-retry-config branch October 16, 2019 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants