gkatzioura / CloudStorageMaven

90 stars 58 forks source link

Turn of retry on google cloud storage #51

Open hadrienk opened 5 years ago

hadrienk commented 5 years ago

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

hadrienk commented 5 years ago

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

gkatzioura commented 5 years ago

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

gkatzioura commented 5 years ago

Pull requests are more than welcome :)

hadrienk commented 5 years ago

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.