CloudStorageMaven icon indicating copy to clipboard operation
CloudStorageMaven copied to clipboard

Turn of retry on google cloud storage

Open hadrienk opened this issue 5 years ago • 4 comments

When an error occurs in the connect->list the plugin goes into a retry loop. Better to fail fast.

hadrienk avatar May 15 '19 17:05 hadrienk

I can create a PR if you are ok merging it?

hadrienk avatar May 15 '19 17:05 hadrienk

Will check and test. What do you propose (technically speaking)?

gkatzioura avatar May 21 '19 09:05 gkatzioura

Pull requests are more than welcome :)

gkatzioura avatar May 21 '19 09:05 gkatzioura

Will check and test. What do you propose (technically speaking)?

When connecting to the GCP via the API, there's a way to configure the retry strategy.

https://googleapis.dev/java/google-cloud-clients/latest/index.html

I'm not sure this documentation is up to date though, I think I've seen it named RetryStrategy or RetryOptions.

hadrienk avatar May 21 '19 22:05 hadrienk