{"id":1472,"date":"2023-03-24T22:27:41","date_gmt":"2023-03-24T14:27:41","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1472"},"modified":"2023-04-28T20:34:08","modified_gmt":"2023-04-28T12:34:08","slug":"comparison-of-configuration-servers-in-spring-cloud-ecosystem","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/24\/comparison-of-configuration-servers-in-spring-cloud-ecosystem\/","title":{"rendered":"Spring Cloud\u751f\u6001\u7684\u914d\u7f6e\u670d\u52a1\u5668\u5bf9\u6bd4"},"content":{"rendered":"<p>\u672c\u6587\u4ece\u793e\u533a\u6d3b\u8dc3\u5ea6\u3001\u4ea7\u54c1\u7279\u70b9\u3001\u6210\u529f\u6848\u4f8b\u3001\u4ea7\u54c1\u7f3a\u70b9\u7b49\u7ef4\u5ea6\uff0c\u5168\u65b9\u4f4d\u5bf9\u6bd4<code>Spring Cloud Config<\/code>\u3001<code>Apollo<\/code>\u3001<code>Nacos<\/code>\u3001<code>Disconf<\/code>\u3001<code>Spring Cloud Consul<\/code>\u3001<code>Spring Cloud Zookeeper<\/code>\u7b49\u51e0\u6b3eSpring Cloud\u751f\u6001\u7684\u914d\u7f6e\u670d\u52a1\u5668\uff0c\u5e2e\u52a9\u6211\u4eec\u9009\u62e9\u5408\u9002\u7684\u914d\u7f6e\u670d\u52a1\u5668\u3002<\/p>\n<h2>Spring Cloud Config<\/h2>\n<p><!-- more --><\/p>\n<p>\uff081\uff09GitHub<\/p>\n<p><a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/github.com\/spring-cloud\/spring-cloud-config\">https:\/\/github.com\/spring-cloud\/spring-cloud-config<\/a> \uff0c\u5b98\u65b9\u7ec4\u4ef6\uff0c\u793e\u533a\u8f83\u6d3b\u8dc3<\/p>\n<p>\uff082\uff09\u5f00\u6e90\u5382\u5546<\/p>\n<p>Pivotal\uff08Spring\u5b98\u65b9\u56e2\u961f\uff09<\/p>\n<p>\uff083\uff09\u4ea7\u54c1\u7279\u70b9<\/p>\n<ul>\n<li>\u9075\u5faaSpring Cloud Config\u7684\u914d\u7f6e\u7ba1\u7406\u89c4\u8303<\/li>\n<li>\u540e\u7aef\u5b58\u50a8\u652f\u6301\u4e30\u5bcc\uff08\u652f\u6301Git\u3001SVN\u3001MySQL\u3001Vault\u3001\u672c\u5730\u5b58\u50a8\u7b49\uff09<\/li>\n<\/ul>\n<p>\uff084\uff09\u6f14\u793a\u73af\u5883<\/p>\n<p>\u6682\u65e0<\/p>\n<p>\uff085\uff09\u6210\u529f\u6848\u4f8b<\/p>\n<p>N\u591a\uff0c\u76ee\u524d\u7528Spring Cloud\u7684\u5927\u591a\u56e2\u961f\u90fd\u662f\u7528\u7684Spring Cloud Config<\/p>\n<p>\uff086\uff09\u7f3a\u70b9<\/p>\n<ul>\n<li>\u6ca1\u6709\u754c\u9762\uff0c\u7ba1\u7406\u9ebb\u70e6<\/li>\n<li>\u6ca1\u6709\u6743\u9650\u7ba1\u7406<\/li>\n<li>\u4f9d\u8d56\u7e41\u591a\uff0c\u4f8b\u5982\uff1a<\/li>\n<li>\n<ul>\n<li>\u5982\u679c\u4f7f\u7528Git\u4f5c\u4e3a\u540e\u7aef\u5b58\u50a8\uff0c\u9700\u8981\u642d\u5efaGitLab\u6216\u5176\u4ed6Git\u670d\u52a1\u5668\u96c6\u7fa4<\/li>\n<\/ul>\n<\/li>\n<li>\n<ul>\n<li>\u5982\u9700\u5b9e\u73b0\u914d\u7f6e\u6279\u91cf\u5237\u65b0\uff0c\u9700\u8981\u501f\u52a9Spring Cloud Bus\uff0c\u4f9d\u8d56Kafka\u6216RabbitMQ<\/li>\n<\/ul>\n<\/li>\n<li>\u7531\u4e8e\u4f9d\u8d56\u592a\u591a\uff0c\u96c6\u7fa4\u642d\u5efa\u5f88\u9ebb\u70e6\u2014\u2014GitLab\u3001MQ\u3001Config Server\u672c\u8eab\u90fd\u5f97\u505a\u96c6\u7fa4<\/li>\n<\/ul>\n<h2>Apollo<\/h2>\n<p>\uff081\uff09GitHub<\/p>\n<p><a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/github.com\/ctripcorp\/apollo\">https:\/\/github.com\/ctripcorp\/apollo<\/a> \uff0c\u793e\u533a\u5f88\u6d3b\u8dc3<\/p>\n<p>\uff082\uff09\u5f00\u6e90\u5382\u5546<\/p>\n<p>\u643a\u7a0b<\/p>\n<p>\uff083\uff09\u4ea7\u54c1\u7279\u70b9<\/p>\n<ul>\n<li>\u6982\u5ff5\u8f83\u4e3a\u6e05\u6670\uff0c\u4e0a\u624b\u7b80\u5355<\/li>\n<li>\u5b8c\u5584\u7684\u6d41\u7a0b\u3001\u6743\u9650\u63a7\u5236<\/li>\n<li>\u754c\u9762\u53cb\u597d<\/li>\n<li>\u6587\u6863\u8f83\u4e3a\u4e30\u5bcc<\/li>\n<\/ul>\n<p>\uff084\uff09\u6210\u529f\u6848\u4f8b<\/p>\n<p>\u643a\u7a0b\u3001\u7f51\u6613\u8702\u5de2\u3001\u4e2d\u56fd\u5e73\u5b89\u7b49\uff0c\u66f4\u591a\u516c\u53f8\u8be6\u89c1\uff1a<a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/github.com\/ctripcorp\/apollo\">https:\/\/github.com\/ctripcorp\/apollo<\/a><\/p>\n<p>\uff085\uff09\u6f14\u793a\u73af\u5883<\/p>\n<ul>\n<li><a target=\"_blank\" rel=\"noopener\" href=\"http:\/\/106.12.25.204:8070\/\">http:\/\/106.12.25.204:8070\/<\/a><\/li>\n<li>\u8d26\u53f7\/\u5bc6\u7801\uff1aapollo\/admin<\/li>\n<\/ul>\n<p>\uff086\uff09\u7f3a\u70b9<\/p>\n<p>\u6682\u672a\u53d1\u73b0<\/p>\n<h2>Nacos<\/h2>\n<p>\uff081\uff09GitHub<\/p>\n<p><a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/github.com\/alibaba\/nacos\">https:\/\/github.com\/alibaba\/nacos<\/a> \uff0c\u793e\u533a\u975e\u5e38\u6d3b\u8dc3<\/p>\n<p>\uff082\uff09\u5f00\u6e90\u5382\u5546<\/p>\n<p>\u963f\u91cc\u5df4\u5df4<\/p>\n<p>\uff083\uff09\u4ea7\u54c1\u7279\u70b9<\/p>\n<ul>\n<li>\u76ee\u524d\u5728Spring Cloud\u5b75\u5316\u5668\u4e2d\u5b75\u5316\uff0c\u5b75\u5316\u6210\u529f\u540e\uff0c\u5c06\u6210\u4e3aSpring Cloud\u5b98\u65b9\u63a8\u8350\u7684\u7ec4\u4ef6\u4e4b\u4e00<\/li>\n<li>\u4e0d\u4ec5\u80fd\u505a\u914d\u7f6e\u7ba1\u7406\uff0c\u4e5f\u80fd\u505a\u6ce8\u518c\u4e2d\u5fc3<\/li>\n<li>\u754c\u9762\u53cb\u597d<\/li>\n<li>\u4e0a\u624b\u7b80\u5355<\/li>\n<li>\u6587\u6863\u4e30\u5bcc<\/li>\n<\/ul>\n<p>\uff084\uff09\u6210\u529f\u6848\u4f8b<\/p>\n<p>\u963f\u91cc\u5df4\u5df4\u3001\u864e\u7259\u76f4\u64ad\u3001\u5de5\u5546\u94f6\u884c\u8f6f\u4ef6\u5f00\u53d1\u4e2d\u5fc3\u3001\u7231\u5947\u827a\u7b49\uff0c\u66f4\u591a\u516c\u53f8\u8be6\u89c1\uff1a<a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/github.com\/alibaba\/nacos\/issues\/273\">https:\/\/github.com\/alibaba\/nacos\/issues\/273<\/a><\/p>\n<p>\uff085\uff09\u6f14\u793a\u73af\u5883<\/p>\n<p><a target=\"_blank\" rel=\"noopener\" href=\"http:\/\/console.nacos.io\/nacos\/index.html\">http:\/\/console.nacos.io\/nacos\/index.html<\/a><\/p>\n<p>\uff086\uff09\u7f3a\u70b9<\/p>\n<p>\u6682\u672a\u53d1\u73b0\u660e\u663e\u7f3a\u70b9<\/p>\n<h2>Disconf<\/h2>\n<p>\uff081\uff09GitHub<\/p>\n<p><a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/github.com\/knightliao\/disconf\">https:\/\/github.com\/knightliao\/disconf<\/a> \uff0c\u793e\u533a\u6d3b\u8dc3\u5ea6\u4e00\u822c<\/p>\n<p>\uff082\uff09\u5f00\u6e90\u5382\u5546<\/p>\n<p>\u539f\u767e\u5ea6\u5458\u5de5\uff0c\u73b0\u5728\u8682\u8681\u91d1\u670d<\/p>\n<p>\uff083\uff09\u4ea7\u54c1\u7279\u70b9<\/p>\n<ul>\n<li>\u754c\u9762\u826f\u597d<\/li>\n<li>\u90e8\u7f72\u7b80\u5355<\/li>\n<\/ul>\n<p>\uff084\uff09\u6210\u529f\u6848\u4f8b<\/p>\n<p>\u767e\u5ea6\u3001\u6ef4\u6ef4\u51fa\u884c\u3001\u987a\u4e30\u3001\u7f51\u6613\u7b49\uff0c\u66f4\u591a\u516c\u53f8\u8be6\u89c1\uff1a<a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/github.com\/knightliao\/disconf\">https:\/\/github.com\/knightliao\/disconf<\/a><\/p>\n<p>\uff085\uff09\u7f3a\u70b9<\/p>\n<p>\u6700\u65b0\u7684\u7248\u672c\u53d1\u5e03\u4e8e\u4e24\u5e74\u524d\uff0c\u6709\u70b9\u4e45\u4e86\u3002<\/p>\n<h2>Spring Cloud Consul<\/h2>\n<p>\uff081\uff09GitHub<\/p>\n<p><a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/github.com\/spring-cloud\/spring-cloud-consul\">https:\/\/github.com\/spring-cloud\/spring-cloud-consul<\/a> \uff0c\u5b98\u65b9\u7ec4\u4ef6\uff0c\u793e\u533a\u8f83\u6d3b\u8dc3<\/p>\n<p>\uff082\uff09\u5f00\u6e90\u5382\u5546<\/p>\n<ul>\n<li>Pivotal\uff08Spring\u5b98\u65b9\u56e2\u961f\uff09<\/li>\n<\/ul>\n<p>\uff083\uff09\u4ea7\u54c1\u7279\u70b9<\/p>\n<ul>\n<li>\u6709\u4e2a\u8fd8\u7b97\u5c06\u5c31\u7684\u754c\u9762<\/li>\n<li>\u4f7f\u7528\u8f83\u4e3a\u7b80\u5355<\/li>\n<li>\u9075\u5faaSpring Cloud Config\u7684\u914d\u7f6e\u7ba1\u7406\u89c4\u8303<\/li>\n<li>\u4e0d\u4ec5\u80fd\u505a\u914d\u7f6e\u7ba1\u7406\uff0c\u4e5f\u80fd\u505a\u6ce8\u518c\u4e2d\u5fc3<\/li>\n<\/ul>\n<p>\uff084\uff09\u6210\u529f\u6848\u4f8b<\/p>\n<ul>\n<li>\u6682\u672a\u53d1\u73b0<\/li>\n<\/ul>\n<p>\uff085\uff09\u6f14\u793a\u73af\u5883<\/p>\n<ul>\n<li>\u6682\u65e0<\/li>\n<\/ul>\n<p>\uff086\uff09\u7f3a\u70b9<\/p>\n<ul>\n<li>\u6ca1\u6709\u6743\u9650\u7ba1\u7406<\/li>\n<li>\u7ba1\u7406\u754c\u9762\u4e0d\u591f\u53cb\u5584<\/li>\n<li>\u8981\u60f3\u7528\u5f97\u597d\uff0c\u5f97\u4e86\u89e3Spring Cloud Config\u7ba1\u7406\u89c4\u8303<\/li>\n<\/ul>\n<h2>Spring Cloud Zookeeper<\/h2>\n<p>\uff081\uff09GitHub<\/p>\n<p><a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/github.com\/spring-cloud\/spring-cloud-zookeeper\">https:\/\/github.com\/spring-cloud\/spring-cloud-zookeeper<\/a> \uff0c\u5b98\u65b9\u7ec4\u4ef6\uff0c\u793e\u533a\u8f83\u6d3b\u8dc3<\/p>\n<p>\uff082\uff09\u5f00\u6e90\u5382\u5546<\/p>\n<p>Pivotal\uff08Spring\u5b98\u65b9\u56e2\u961f\uff09<\/p>\n<p>\uff083\uff09\u4ea7\u54c1\u7279\u70b9<\/p>\n<ul>\n<li>\u4f7f\u7528\u8f83\u4e3a\u7b80\u5355<\/li>\n<li>\u9075\u5faaSpring Cloud Config\u7684\u914d\u7f6e\u7ba1\u7406\u89c4\u8303<\/li>\n<li>\u4e0d\u4ec5\u80fd\u505a\u914d\u7f6e\u7ba1\u7406\uff0c\u4e5f\u80fd\u505a\u6ce8\u518c\u4e2d\u5fc3<\/li>\n<\/ul>\n<p>\uff084\uff09\u6f14\u793a\u73af\u5883<\/p>\n<p>\u6682\u65e0<\/p>\n<p>\uff085\uff09\u6210\u529f\u6848\u4f8b<\/p>\n<p>\u6682\u672a\u53d1\u73b0<\/p>\n<p>\uff086\uff09\u7f3a\u70b9<\/p>\n<ul>\n<li>\u65e0\u754c\u9762<\/li>\n<li>\u65e0\u6743\u9650\u7ba1\u7406<\/li>\n<li>\u8981\u60f3\u7528\u5f97\u597d\uff0c\u5f97\u4e86\u89e3Spring Cloud Config\u7ba1\u7406\u89c4\u8303<\/li>\n<\/ul>\n<h2>\u5176\u4ed6<\/h2>\n<p>\u5982\u679c\u4f7f\u7528\u7684\u662fSpring Cloud Kubernetes\uff0c\u6216\u8005\u5c06Spring Cloud\u5e94\u7528\u90e8\u7f72\u5728Kubernetes\u73af\u5883\u4e2d\uff0c\u8fd8\u53ef\u4ee5\u9009\u62e9ConfigMap\u3002<\/p>\n<h2>\u7ed3\u8bba<\/h2>\n<p>Spring Cloud Config\u4e0d\u592a\u597d\u7528\uff0c\u9700\u8981\u5236\u4f5c\u4e00\u4e2a\u754c\u9762\uff0c\u624d\u80fd\u66f4\u597d\u5730\u5e2e\u52a9\u6211\u4eec\u7ba1\u7406\u914d\u7f6e\uff1bNacos\u6216\u8005Apollo\u662f\u9996\u9009\uff0c\u529f\u80fd\u5b8c\u5907\u3001\u4e0a\u624b\u7b80\u5355\u3001\u50bb\u74dc\u5316\u64cd\u4f5c\u3001\u5e76\u4e14\u76ee\u524d\u7ef4\u62a4\u6bd4\u8f83\u7ed9\u529b\uff1b<br \/>\nConsul\u4e5f\u53ef\u4ee5\u4f5c\u4e3a\u4e00\u4e2a\u9009\u62e9\uff0c\u4f46\u56fd\u5185\u7528Consul\u505a\u914d\u7f6e\u7ba1\u7406\u7684\u516c\u53f8\u8fd8\u6ca1\u53d1\u73b0\uff0c\u5e76\u4e14Consul\u662fGo\u8bed\u8a00\u7f16\u5199\u7684\uff0c\u5982\u679c\u9009\u7528\uff0c\u5f97\u6709Hold\u4f4f\u5b83\u7684\u80fd\u529b\u2014\u2014\u5c3d\u7ba1Consul\u5f88\u7a33\u5b9a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u4ece\u793e\u533a\u6d3b\u8dc3\u5ea6\u3001\u4ea7\u54c1\u7279\u70b9\u3001\u6210\u529f\u6848\u4f8b\u3001\u4ea7\u54c1\u7f3a\u70b9\u7b49\u7ef4\u5ea6\uff0c\u5168\u65b9\u4f4d\u5bf9\u6bd4Spring Cloud Config\u3001Apo [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[362,17,42],"tags":[],"class_list":["post-1472","post","type-post","status-publish","format-standard","hentry","category-apollo-disconf","category-nacos","category-spring-cloud"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1472"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1472\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}