We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
优雅上线检查actuator/health返回状态触发服务注册场景存在问题: 1、SDK基于Nacos实现优雅上线逻辑为:服务关闭自动注册启动=》通过脚本不断调用服务actuator/health确认服务是否就绪=》服务状态为UP时,触发服务注册; 2、SDK中为配合readlines健康检查,实现了注册的健康检查NacosRegistryHelthIndicator,如果微服务未注册,那么返回状态为DOWN。
以上两个逻辑存在冲突
改进:在微服务未注册时,默认返回health为UP状态
The text was updated successfully, but these errors were encountered:
[huaweicloud#1276] Nacos registryHelthIndicator compatible graceful s…
b191c5d
…cenes microservice health check
chengyouling
No branches or pull requests
优雅上线检查actuator/health返回状态触发服务注册场景存在问题:
1、SDK基于Nacos实现优雅上线逻辑为:服务关闭自动注册启动=》通过脚本不断调用服务actuator/health确认服务是否就绪=》服务状态为UP时,触发服务注册;
2、SDK中为配合readlines健康检查,实现了注册的健康检查NacosRegistryHelthIndicator,如果微服务未注册,那么返回状态为DOWN。
以上两个逻辑存在冲突
改进:在微服务未注册时,默认返回health为UP状态
The text was updated successfully, but these errors were encountered: