googleapis / googleapis/google-cloud-java

Allow retry on connection establishing exceptions

未关闭
#9,098 1 条评论 0 个 reaction 已指派 1 人 已被 @anthavio 认领 在 GitHub 查看
priority: p4 type: feature request
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
157

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。