Open mrssz opened 3 years ago
Hi @mrssz, The health API endpoints can be used to only return services with health checks that are in a passing state.
Check out https://learn.hashicorp.com/tutorials/consul/service-registration-health-checks?in=consul/developer-discovery for a tutorial on configuring health checks for services.
Problem Description: After our service is started, it can be accessed in the form of ip:port, and the service can also be found from consul through'/catalog/service/', but it will last for a period of time when called by the load balancing client 503.
I would like to ask which API can accurately determine whether the service is available, or what other methods can accurately determine whether the service is already available.