Add ApplicationInstanceRecover message for the request of instance recover service
This commit is contained in:
parent
f93c5f973e
commit
a29a1c02c5
|
|
@ -14,7 +14,7 @@ service InstanceDiscoveryService {
|
|||
rpc heartbeat (ApplicationInstanceHeartbeat) returns (Downstream) {
|
||||
}
|
||||
|
||||
rpc registerRecover (ApplicationInstanceMapping) returns (Downstream) {
|
||||
rpc registerRecover (ApplicationInstanceRecover) returns (Downstream) {
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -26,6 +26,11 @@ message ApplicationInstance {
|
|||
message ApplicationInstanceMapping {
|
||||
int32 applicationId = 1;
|
||||
int32 applicationInstanceId = 2;
|
||||
}
|
||||
|
||||
message ApplicationInstanceRecover {
|
||||
int32 applicationId = 1;
|
||||
int32 applicationInstanceId = 2;
|
||||
int64 registerTime = 3;
|
||||
}
|
||||
|
||||
|
|
@ -56,5 +61,4 @@ message ServiceNameMappingElement {
|
|||
message ServiceNameElement {
|
||||
string serviceName = 1;
|
||||
int32 applicationId = 2;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue