Hi @Steve K
I followed up with the product group and the documentation could use some clarification. However, consider the following:
spring:
cloud:
azure:
appconfiguration:
stores:
- endpoint: "<config-2>.azconfig.io"
selects:
- key-filter: "/custom/"
label-filter: ",dev"
- key-filter: "/application/"
label-filter: ",dev"
- endpoint: "<config-1>.azconfig.io"
selects:
- key-filter: "/custom/"
label-filter: ",dev"
- key-filter: "/application/"
label-filter: ",dev"
In this setup, the configuration, config-1
will have priority, but internally the first set of key filters /custom/
will have priority. These filters will select two labels each, \0
and dev
but dev
keys have the priority over \0
keys.
Considering this logic, in your configuration, /custom-service-prefix/
should have the priority. I should also note that connection-strings
are considered replicas and thus treated as a single store, where the primary one is only loaded.