googleapis / googleapis/google-cloud-go
bigquery: add a way to override retry properties
Open
api: bigquery
priority: p2
type: feature request
- Dominant language
- Go
- Stars
- 4.5k
- Forks
- 1.6k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 109
Description
In big query the retry configuration is hard coded inside big query package:
```golang
backoff := gax.Backoff{
Initial: 1 * time.Second,
Max: 32 * time.Second,
Multiplier: 2,
}
```
I would want to override it and give higher values for all fields, to avoid duplications in BQ. (prevent retry if the row may be written successfully even some error retrieved )
In all other GCP services the retry config can be overriden from the client code, Can we align also BQ to be the same? this is very weird that you have hard coded values that can't be overriden.
Contributor guide
Assessment
This issue has not been assessed yet.