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

propagate retry policy on zipped (autobatched) queries #341

Open
googley42 opened this issue Nov 28, 2023 · 0 comments
Open

propagate retry policy on zipped (autobatched) queries #341

googley42 opened this issue Nov 28, 2023 · 0 comments

Comments

@googley42
Copy link
Contributor

Currently withRetryPolicy only sets the policy on BatchGetItem/BatchWriteItem queries but not on autobatched queries.

We would like autobatched queries created with zip and forEach to honour withRetryPolicy method application.

One possible solution is to add an optional retryPolicy field to the atomic Get/Put/Delete query classes and to set these on the withRetryPolicy call. Then in autobatching code we can detect that these have been set and use this in the composite Batch query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant