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

client has multi config-servers support?

Open aliciz opened this issue 3 years ago • 3 comments

Scenario: the company provides a globally unified config-server, but my project provide an internal config-server. Therefore, client needs to configure two or multi config-servers url.

I want a features of properties look like:

spring:
  config:
    import:
      - optional:configserver:http://global-config-server:8888
      - optional:configserver:http://project-config-server:8888

aliciz avatar Oct 08 '21 14:10 aliciz

Hi

There's some uncertainty for example assume you would like to have different labels for each repo how to achieve it ? If it's same label then composite can be used

tsemachh avatar Nov 24 '21 10:11 tsemachh

This should already work, are you finding it doesn't?

ryanjbaxter avatar Nov 24 '21 16:11 ryanjbaxter

it works when using same label for the 2 repos. Assume we go with new config approach it should be supported if we list 2 config servers with the ability to give each different label.

tsemachh avatar Nov 24 '21 17:11 tsemachh