spring-cloud-consul
spring-cloud-consul copied to clipboard
Spring Cloud Consul
When services are registered as consul services, the service has several properties that can be queried via consul APIs. For example a MongoDB registered service has an Address, Port, Tags...
**@ConstructorBinding annotated classes not refreshing** I am using Spring Cloud version Hoxton with Spring Boot 2.2.x Spring Boot 2.2.x introduced a an annotation `@ConstructorBinding` that allows defining `@ConfigurationProperties` classes strictly...
spring-cloud-consul-discovery-2.1.4.RELEASE.jar ConsulCatalogWatchAutoConfiguration reads property: spring.cloud.consul.discovery.catalog-services-watch.enabled The only file that works with similar config is ConsulDiscoveryProperties which defines: spring.cloud.consul.discovery but does not include: spring.cloud.consul.discovery.catalog-services-watch as a result IDE (eclipse) validation tools...
Using both port 0 for management.server and server causes the following stack trace in 2.1.1.RELEASE: ### Stacktrace ``` java.lang.IllegalArgumentException: createCheck port must be greater than 0 at org.springframework.util.Assert.isTrue(Assert.java:118) ~[spring-core-5.1.6.RELEASE.jar:5.1.6.RELEASE] at...
Enhancement The code coverage report for spring-cloud-consul is down, I believe we should fix it.
creating a basic consul app with discovery and web only results in a critical health app in consul.
``` zuul: ignoredServices: consul ``` See https://github.com/spring-cloud/spring-cloud-netflix/issues/3557
Currently, when using consul and ribbon (ZoneAwareLoadBalancer), multiple data centers are not supported so it is not really zone aware. Looks like a simple change in the `getServers` method in...
A move to non-blocking infrastructure like spring-cloud-loadbalancer will be problematic with a blocking client.
If heartbeat is enabled paired with acl tokens, then the heartbeat task does not configure the token to use when communicating with the consul server ```yml spring.cloud.consul.discovery: acl-token: ${uuid} heartbeat.enabled:...