Spring cloud config distributed configuration center (3) Summary

Above is the frame structure

1: When the server starts, create an instance of spring's ApplicationContext, obtain configuration information from the remote warehouse, and download it to the specified local warehouse

2: The server obtains the latest configuration data from the local warehouse , for example, configuration environments such as testing, development, production, etc., may also have other

3: The name profile label configured in the client bootstrap.properties is equivalent to a unique coordinate, specifying a specific configuration file in the server

4: The client obtains the content of the configuration file

5: The client creates an instance of Spring's ApplicationContext and loads the configuration information found above into the ApplicationContext instance

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324948856&siteId=291194637