opensergo-go-sdk icon indicating copy to clipboard operation
opensergo-go-sdk copied to clipboard

Add timeout and retry mechanism for config-subscribe transport stream

Open jnan806 opened this issue 2 years ago • 0 comments

Issue Description

Type: feature request

Describe what feature you want

Add timeout mechanism for config-subscribe transport stream. If the deadline exceeds for the client waiting for ACK or NACK response after subscribing data from server, the client may need to re-subscribe the data (or other logic).

--

在 OpenSergo universal transport service protocol (OUTS) 中, sdk client 向 控制面发送订阅请求,控制面在收到请求后响应ACk/NACK。在这个过程中,如果 sdk client 在发送订阅请求一段时间内,没有接收到 控制面的 ACK/NACK响应,client 侧需要进入超时机制,开启重试机制。

Additional context

specially, design for this issue maybe need to conside with the timeout and retry mechanism of opensergo-control-plane. relation issue:https://github.com/opensergo/opensergo-control-plane/issues/8

--

需要注意的是,此处的设计可能需要和 opensergo-control-plane 的超时重试机制一起考虑。 相关 issue:https://github.com/opensergo/opensergo-control-plane/issues/8

jnan806 avatar Nov 22 '22 13:11 jnan806