-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
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
Health check using spring-boot actuator health endpoint #266
Comments
I solved that on my own by using a scheduler and querying the health endpoint. |
@spencergibb Any interest that I provide a PR? Or is this not the way to go? |
@spencergibb @OlgaMaciaszek Any interest in a PR for this one. |
Yes, PRs welcome, that's why it's labeled "help wanted" |
…HealthEndpoint to respect custom HealthIndicator instances. Therfore a ZookeeperInstanceHealthPublisher is introduced. Only activated when HealthEndpoint and TaskScheduler are available. fixedDelay can be configured. Fixes spring-cloudgh-266
Took some time because pandemic times require me too be there for my children. But now I've finally provided a solution for this. |
Totally understandable |
Problem
I have a customized
HealthIndicator
that simply marks the service as 'DOWN'.But when I checked the znode data, it showed that 'instance_status' was 'UP'.
When using spring-cloud-gateway along with zookeeper registry, I expect that it would NOT forward requests to a service being 'DOWN'. But for now it seems impossible.
The text was updated successfully, but these errors were encountered: