leaseClient.keepAlive several minutes later will stop
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 312
- Avg merge
- 5d 4h
- Merged PRs (30d)
- 2
Description
**0.7.7 **
- etcd: 3.5.13
- jetcd: 0.7.7
- java: 21
**Describe the bug**
When I call leaseClient.keepAlive several minutes later the function onCompleted will be called and the keepAlive will stop
**Expected behavior**
A clear and concise description of what you expected to happen.
**Additional context**
leaseClient.keepAlive(myselfNodeInfo.getLeaseId(), new StreamObserver() {
@Override
public void onNext(LeaseKeepAliveResponse value) {
log.info("ppppppp get id ={} ttl ={}", value.getID(), value.getTTL());
}
@Override
public void onError(Throwable t) {
log.error("----error", t);
}
@Override
public void onCompleted() {
log.info("================ restart my self");
}
});
Contributor guide
Assessment
This issue has not been assessed yet.