Make Context.errors public in InsertRetryPolicy
Open
gcp
improvement
io
java
P3
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
Context.errors should be public in sdk.io.gcp.bigquery.InsertRetryPolicy so that it is possible for users to create their own InsertRetryPolicy which reacts differently to different errors.
Also, "notFound" should probably be in PERSISTENT_ERRORS, the list of non-transient errors for which InsertRetryPolicy.retryTransientErrors does *not* retry infinitely-many times.
Finally it would be great if users could specify a max number of retry attempts.
This issue may be related to Beam-3271.
Imported from Jira [BEAM-4187](https://issues.apache.org/jira/browse/BEAM-4187). Original Jira may contain additional context.
Reported by: dnb.
Contributor guide
Assessment
This issue has not been assessed yet.