googleapis / googleapis/google-cloud-java

Allow retry on connection establishing exceptions

Offen
#9,098 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @anthavio Auf GitHub ansehen
priority: p4 type: feature request
Vorherrschende Sprache
Java
Sterne
2.1k
Forks
1.2k
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
154

Beschreibung

It is safe and desirable to retry when connection creation failed.
While BaseService.EXCEPTION_HANDLER is not referenced anywhere in java-core itself, it is used for example in https://github.com/googleapis/java-bigquery/pull/1370, where copy of EXCEPTION_HANDLER is used to deal with connection exceptions.
This PR aims to bring this behavior into core library.
Pull Request https://github.com/googleapis/java-core/pull/606

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.