Open raboof opened 5 years ago
Hey, we solved this by just adding
syntax = "proto3";
package grpc.health.v1;
message HealthCheckRequest {
string service = 1;
}
message HealthCheckResponse {
enum ServingStatus {
UNKNOWN = 0;
SERVING = 1;
NOT_SERVING = 2;
}
ServingStatus status = 1;
}
service Health {
rpc Check(HealthCheckRequest) returns (HealthCheckResponse);
rpc Watch(HealthCheckRequest) returns (stream HealthCheckResponse);
}
The standard health proto to the protobuf folder and just implementing it in our service. Is this request to just bake that into the offerings for akka-grpc?
The other idea is that you could maybe have this work with https://doc.akka.io/docs/akka-management/current/
Not sure yet what this should look like in practice, perhaps having it as an example/documentation is sufficient. Something like: