|
|
@ -11,7 +11,7 @@ The `/query` endpoints create, update, destroy, and execute prepared queries.
|
|
|
|
Prepared queries allow you to register a complex service query and then execute
|
|
|
|
Prepared queries allow you to register a complex service query and then execute
|
|
|
|
it later via its ID or name to get a set of healthy nodes that provide a given
|
|
|
|
it later via its ID or name to get a set of healthy nodes that provide a given
|
|
|
|
service. This is particularly useful in combination with Consul's
|
|
|
|
service. This is particularly useful in combination with Consul's
|
|
|
|
[DNS Interface](/docs/discovery/dns) as it allows for much richer queries than
|
|
|
|
[DNS Interface](/docs/discovery/dns#prepared-query-lookups) as it allows for much richer queries than
|
|
|
|
would be possible given the limited entry points exposed by DNS.
|
|
|
|
would be possible given the limited entry points exposed by DNS.
|
|
|
|
|
|
|
|
|
|
|
|
Check the [Geo Failover tutorial](https://learn.hashicorp.com/tutorials/consul/automate-geo-failover) for details and
|
|
|
|
Check the [Geo Failover tutorial](https://learn.hashicorp.com/tutorials/consul/automate-geo-failover) for details and
|
|
|
|