diff --git a/docs/src/main/asciidoc/spring-cloud-consul.adoc b/docs/src/main/asciidoc/spring-cloud-consul.adoc index 89ed1d5e..9912de8f 100644 --- a/docs/src/main/asciidoc/spring-cloud-consul.adoc +++ b/docs/src/main/asciidoc/spring-cloud-consul.adoc @@ -74,6 +74,8 @@ The default service name, instance id and port, taken from the `Environment`, ar To disable the Consul Discovery Client you can set `spring.cloud.consul.discovery.enabled` to `false`. +To disable the service registration you can set `spring.cloud.consul.discovery.register` to `false`. + === HTTP Health Check The health check for a Consul instance defaults to "/health", which is the default locations of a useful endpoint in a Spring Boot Actuator application. You need to change these, even for an Actuator application if you use a non-default context path or servlet path (e.g. `server.servletPath=/foo`) or management endpoint path (e.g. `management.context-path=/admin`). The interval that Consul uses to check the health endpoint may also be configured. "10s" and "1m" represent 10 seconds and 1 minute respectively. Example: