spring-cloud-consul icon indicating copy to clipboard operation
spring-cloud-consul copied to clipboard

spring.cloud.consul.config.prefixes documentation update

Open shan916 opened this issue 3 years ago • 3 comments

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

shan916 avatar Aug 19 '21 22:08 shan916

up - I wasted few hours trying to figured out why my configuration has not been resolving because of this confusing doc... 👎

mario45211 avatar Aug 19 '22 11:08 mario45211

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

spencergibb avatar Mar 08 '23 22:03 spencergibb

My mistake, prefix support hasn't been removed and it should still work. @mario45211 prefix should still work.

spencergibb avatar Mar 08 '23 22:03 spencergibb