apache / dubbo

The java implementation of Apache Dubbo. An RPC and microservice framework.
https://dubbo.apache.org/
Apache License 2.0
40.42k stars 26.41k forks source link

Observability task: health check is compatible with SpringBoot's health check and readability check #11155

Open conghuhu opened 1 year ago

conghuhu commented 1 year ago

Describe the proposal

中文: SpringBoot actuator提供了健康检查的endpoint,Dubbo需兼容SpringBoot的健康检查,可参考Spring Boot 健康检查

en: SpringBoot actor provides the endpoint of health check. Dubbo should be compatible with SpringBoot health check. Please refer to Spring Boot health check

gsralex commented 1 year ago

plz assign to me, thanks

gsralex commented 1 year ago

中文: 我看需要实现spring的HealthIndicator/AbstractHealthIndicator ,并且使用dubbo 的statusChecker的实现类去做。但是我找到一个已存在的类(org.apache.dubbo.spring.boot.actuate.health.DubboHealthIndicator),我需要在这个类的基础上去做吗?

en: I think it needs to implement spring HealthIndicator/AbstractHealthIndicator and use various implementation classes of dubbo statusChecker. But I found an existing class(org.apache.dubbo.spring.boot.actuate.health.DubboHealthIndicator), need I do it on the basis of the existing class?