googleapis / googleapis/google-cloud-java

[sdk-platform-java] feat: Enforce RPC deadlines even when GRPC does not

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

描述

#### Environment details

- Programming language: Java
- OS: Linux

#### Steps to reproduce

1. Create a singleton RPC call for the Pub/Sub Lite cursor service using the blocking generated GAX surface, or using the futures surface followed by a call to `get()`
2. It blocks forever (or at least 100 hours) in some edge case, despite a timeout of 300 seconds in the service configuration.

贡献指南

打开贡献指南

调研方向

从 Pub/Sub Lite 游标服务的阻塞式生成 GAX 表面以及后接 get() 的 futures 表面开始,然后重现忽略已配置超时的调用。完成的标准是 singleton RPC 调用不再无限期阻塞,并强制执行 300 秒的服务超时,包括所描述的边缘情况。

由索引模型根据 Issue 内容生成。

评估

技术栈
grpc, java
领域
api, backend
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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