LeaseKeepAlive 方法维持一个租约.
rpc LeaseKeepAlive(stream LeaseKeepAliveRequest) returns (stream LeaseKeepAliveResponse) {}
message LeaseKeepAliveRequest {
// ID 是要继续存活的租约的 ID
int64 ID = 1;
}
message LeaseKeepAliveResponse {
ResponseHeader header = 1;
// ID 是从继续存活请求中得来的租约 ID
int64 ID = 2;
// TTL是租约新的 time-to-live
int64 TTL = 3;
}