spring-cloud / spring-cloud-consul

Spring Cloud Consul
http://cloud.spring.io/spring-cloud-consul/
Apache License 2.0
805 stars 543 forks source link

Documentation - Clarify disabling of service registration #812

Open manderson23 opened 1 year ago

manderson23 commented 1 year ago

To disable service registration the documentation says

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

However, I found that I had to set spring.cloud.consul.service-registry.auto-registration.enabled = false

Can you please confirm if the documentation is incorrect? I don't see any references to the property had to set anywhere except the appendix.