apache / apache/beam

Make Context.errors public in InsertRetryPolicy

Open
#18,827 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.