spring-cloud / spring-cloud-consul

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

Unable to disable catalog-services-watch #777

Closed arjpaiva closed 2 years ago

arjpaiva commented 2 years ago

Describe the bug I'm trying to disable catalog service watch call /v1/status/leader HTTP/1.1 by setting spring.cloud.consul.discovery.catalog-services-watch.enabled=false but it's still making the request.

Sample Application env variables:

"spring.cloud.consul.discovery.catalog-services-watch.enabled": {
"value": "false",
"origin": "System Environment Property \"spring.cloud.consul.discovery.catalog-services-watch.enabled\""
}

Application logs:

Executing request GET /v1/status/leader HTTP/1.1