spring-cloud-consul
spring-cloud-consul copied to clipboard
spring.cloud.consul.config.prefixes documentation update
The documentation for spring-cloud-consul has no mention of the deprecation of spring.cloud.consul.config.prefix
in favor of spring.cloud.consul.config.prefixes
. I had to do dig up the code to see if the new (plural) property is a YAML list or if it is a comma separated String. The documentation at the below URL should be updated with an explanation.
https://docs.spring.io/spring-cloud-consul/docs/current/reference/html/#customizing
up - I wasted few hours trying to figured out why my configuration has not been resolving because of this confusing doc... 👎
This typically wouldn't go in the documentation but in release notes. This was missed, our bad. Both properties were supported in 3.x and was removed in 4.0
My mistake, prefix
support hasn't been removed and it should still work. @mario45211 prefix
should still work.