当前位置:网站首页>Config distributed configuration center
Config distributed configuration center
2022-07-07 06:57:00 【RB_ VER】
summary
Microservice means to split the business in a single application into a sub service , The granularity of each service is relatively small , So there will be a lot of services in the system . Because each service needs the necessary configuration information to run , So a centralized 、 Dynamic configuration management facilities are essential .
spring cloud config Provide centralized external configuration support for microservices in microservice architecture , Configuration server provides a centralized external configuration for all environments of different microservice applications .
spring cloud config It is divided into two parts: server and client .
The server is also called the distributed configuration center , It's a stand-alone microservice application , It is used to connect to the configuration server and provide the client with configuration information , encryption / Decrypt information and other access interfaces .
The client manages the application resources through the specified configuration center , And business related configuration content , And get and load the configuration information from the configuration center at startup , The configuration server uses git To store configuration information , This helps with version management of the environment configuration , And through git Client tools to facilitate the management and access of configuration content .
config function :
- Manage profiles centrally
- Different environments, different configurations , Dynamic configuration updates , Deploy in different environments, such as dev/test/prod/beta/release.
- Dynamically adjust the configuration during runtime , There is no longer the need to write configuration files on each machine where services are deployed , The service will pull the configuration information from the configuration center .
- When the configuration changes , The service does not need to be restarted to sense the change in configuration and apply the new configuration .
- Set the configuration information to REST Interface mode exposure .
边栏推荐
猜你喜欢
随机推荐
多个kubernetes集群如何实现共享同一个存储
Abnova 免疫组化服务解决方案
MySQL installation
Stack and queue-p79-9
Unable to debug screen program with serial port
2022/07/04学习记录
Brand · consultation standardization
DHCP路由器工作原理
mobx 知识点集合案例(快速入门)
多线程与高并发(9)——AQS其他同步组件(Semaphore、ReentrantReadWriteLock、Exchanger)
What books can greatly improve programming ideas and abilities?
数据资产管理与数据安全国内外最新趋势
【从零开始】win10系统部署Yolov5详细过程(CPU,无GPU)
docker-compose启动redis集群
MATLAB小技巧(30)非线性拟合 lsqcurefit
MySQL SQL的完整处理流程
.net 5 FluentFTP连接FTP失败问题:This operation is only allowed using a successfully authenticated context
二十岁的我4面拿到字节跳动offer,至今不敢相信
企業如何進行數據治理?分享數據治理4個方面的經驗總結
使用TCP/IP四层模型进行网络传输的基本流程