Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/modules/ROOT/pages/discovery.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,21 @@ To disable the Consul Discovery Client you can set `spring.cloud.consul.discover

To disable the service registration you can set `spring.cloud.consul.discovery.register` to `false`.

[[using-zuul-with-consul]]
== Using Zuul with Consul

When using Spring Cloud Netflix Zuul with Consul service discovery, Zuul may automatically create routes for discovered services, including the Consul service itself.

To exclude the `consul` service from Zuul's automatically created routes, configure the `zuul.ignoredServices` property:

.application.yml
----
zuul:
ignoredServices: consul
----

This configuration prevents Zuul from automatically creating a route for the `consul` service. It does not disable Consul service discovery or service registration.

[[registering-management-as-a-separate-service]]
=== Registering Management as a Separate Service

Expand Down