etcd-io / etcd-io/jetcd

GetOption donot has timeout

Open
#1,326 1 comment 0 reactions 0 assignees View on GitHub
waiting-for-feedback
Dominant language
Java
Stars
1.2k
Forks
312
Avg merge
5d 4h
Merged PRs (30d)
2

Description

client.getKVClient()
.get(EtcdTemplate.toByteSequence("cd"), GetOption.builder().build())
.get() (3 line)

ClientBuilder i set connectTimeout = 30 s keepaliveTimeout = 30s keepaliveTime =30 s
When the network is abnormal, I find that the 3line .get() is blocked continuously.
As the service party, I hope that a timeout interval is set.

thx

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.