Spring Cloud Consul Config is an alternative to Config Server and Client.
Building a configuration center, you can choose the scheme: Spring Cloud Config or Spring Cloud Consul Config
The advantages of Spring cloud config are obvious. Using git to manage the configuration, the configuration is simple, you can view historical information but there is one Disadvantages, you also need to build a server yourself.
Because we ourselves have Consul as the service registration center, and each server has a consul agent, and the operation and maintenance are in high availability, so there is no need to maintain a configuration center by ourselves. The key/value provided by consul can be used as configuration storage, and the reading speed is very fast, faster than Spring Cloud Config.
- Related articles:
Article | Link |
---|---|
Greenwich version of Spring Cloud Consul Guide | https://juejin.im/post/5c650f23e51d45012d0663d4< /td> |
Spring Cloud Consul Config key/value instead of application.yml | https://www.jianshu.com/p/f02df42f7c0c< /td> |
spring cloud: use consul to replace config server | https://www.cnblogs.com/yjmyzz/p/replace- config-server-with-consul.html |