-
Notifications
You must be signed in to change notification settings - Fork 434
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Custom service health check support #242
Comments
I'll provide configuration to support custom health service registration. What you are doing is fine, just need to disable the default one, I will make it optional. |
Thanks @jvmlet ! Looking forward to see that option. |
@bigsky-033 , with |
You might also be interested in consul health check and registration modes support added in the same PR. |
Thanks @jvmlet for the information and I think just seeing code is enough for me. Thanks for your kindness. |
@bigsky-033, I had to redesign the custom health check support a bit to make it |
|
Thanks @jvmlet ! |
I have a question about health check service. Looks like when I launch spring boot application server with LogNet/grpc-spring-boot-starter, health check service is added by
GRpcServerRunner.class
.My question is, if I want to add my custom
HealthGrpc.HealthImplBase
, how can I do that properly? What I tried was registering my custom implementation of HealthGrpc.HealthImplBase as @GRpcService. In this way, it seems that my custom HealthGrpc.HealthImplBase, which I implemented, handles the request when a request is coming to 'grpc.health.v1.Health/Check'. But I'm not sure this is the right way to do that.So could you please let me know what is the right way to register custom health check service?
The text was updated successfully, but these errors were encountered: