Spring Cloud配置服务器与领事之间的区别? [英] Difference between spring cloud config server vs consul?

查看:122
本文介绍了Spring Cloud配置服务器与领事之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对何时使用 spring cloud config server consul 感到困惑.两者都将以自己的方式读取配置文件.

I am confused when to use spring cloud config server and consul. Both will read configurations files in their own ways. Can you please let me know when use spring cloud config server and when to use consul?

推荐答案

两者均从远程服务器向Spring Boot应用程序提供服务.Config Server从多个来源聚合配置:git,svn,sql数据库,Vault和credhub.Spring Cloud Consul提供配置以直接从consul键值存储区启动应用程序.如果您已经在基础架构中拥有领事,则无需运行配置服务器即可简化操作.

Both serve configuration from remote servers to spring boot applications. Config Server aggregates configuration from multiple sources: git, svn, sql databases, vault and credhub. Spring Cloud Consul serves configuration to boot apps directly from the consul key-value store. If you already have consul in your infrastructure, it would simplify things by not having to run config server.

这篇关于Spring Cloud配置服务器与领事之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆