{"id":8823,"date":"2023-11-28T20:44:58","date_gmt":"2023-11-28T12:44:58","guid":{"rendered":"https:\/\/wx.kaifamiao.info\/?p=8823"},"modified":"2023-12-06T11:54:43","modified_gmt":"2023-12-06T03:54:43","slug":"springcloud-zhong-fen-bu-shi-pei-zhi-zhong-xin-you","status":"publish","type":"post","link":"http:\/\/wx.kaifamiao.info\/index.php\/2023\/11\/28\/springcloud-zhong-fen-bu-shi-pei-zhi-zhong-xin-you\/","title":{"rendered":"SpringCloud\u4e2d\u5206\u5e03\u5f0f\u914d\u7f6e\u4e2d\u5fc3\u6709\u90a3\u4e9b\u6846\u67b6\uff1f"},"content":{"rendered":"<p>\u5728Spring Cloud\u4e2d\uff0c\u6709\u51e0\u79cd\u6d41\u884c\u7684\u5206\u5e03\u5f0f\u914d\u7f6e\u4e2d\u5fc3\u6846\u67b6\uff0c\u5176\u4e2d\u4e00\u4e9b\u4e3b\u8981\u5305\u62ec\uff1a<\/p>\n<ol>\n<li>\n<strong>Spring Cloud Config\uff1a<\/strong><\/p>\n<ul>\n<li><strong>\u6982\u8ff0\uff1a<\/strong> Spring Cloud Config\u662fSpring Cloud\u751f\u6001\u7cfb\u7edf\u4e2d\u7684\u5b98\u65b9\u5206\u5e03\u5f0f\u914d\u7f6e\u4e2d\u5fc3\u89e3\u51b3\u65b9\u6848\u3002\u5b83\u5141\u8bb8\u5c06\u5e94\u7528\u7a0b\u5e8f\u7684\u914d\u7f6e\u96c6\u4e2d\u5b58\u50a8\u5728\u4e00\u4e2aGit\u4ed3\u5e93\u6216\u5176\u4ed6\u540e\u7aef\u5b58\u50a8\u4e2d\uff0c\u5e76\u63d0\u4f9bREST API\u4f9b\u5e94\u7528\u7a0b\u5e8f\u8fdb\u884c\u914d\u7f6e\u68c0\u7d22\u3002<\/li>\n<li><strong>\u7279\u70b9\uff1a<\/strong> \u652f\u6301\u914d\u7f6e\u7684\u7248\u672c\u63a7\u5236\u3001\u52a8\u6001\u5237\u65b0\u7b49\u529f\u80fd\uff0c\u80fd\u591f\u4e0e\u5404\u79cd\u540e\u7aef\u5b58\u50a8\uff08Git\u3001SVN\u3001\u672c\u5730\u6587\u4ef6\u7cfb\u7edf\u7b49\uff09\u96c6\u6210\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<strong>Consul\uff1a<\/strong><\/p>\n<ul>\n<li><strong>\u6982\u8ff0\uff1a<\/strong> Consul\u662fHashiCorp\u5f00\u6e90\u7684\u670d\u52a1\u53d1\u73b0\u548c\u914d\u7f6e\u7ba1\u7406\u5de5\u5177\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5206\u5e03\u5f0f\u7684\u952e\u503c\u5b58\u50a8\uff0c\u53ef\u4ee5\u7528\u4e8e\u5b58\u50a8\u914d\u7f6e\u4fe1\u606f\u3002Consul\u7684\u914d\u7f6e\u4e2d\u5fc3\u529f\u80fd\u53ef\u4ee5\u4e0eSpring Cloud\u96c6\u6210\uff0c\u4f5c\u4e3a\u5e94\u7528\u7a0b\u5e8f\u7684\u914d\u7f6e\u6e90\u3002<\/li>\n<li><strong>\u7279\u70b9\uff1a<\/strong> \u652f\u6301\u5065\u5eb7\u68c0\u67e5\u3001\u670d\u52a1\u53d1\u73b0\u7b49\u529f\u80fd\uff0c\u9002\u7528\u4e8e\u6784\u5efa\u5206\u5e03\u5f0f\u7cfb\u7edf\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<strong>ZooKeeper\uff1a<\/strong><\/p>\n<ul>\n<li><strong>\u6982\u8ff0\uff1a<\/strong> Apache ZooKeeper\u662f\u4e00\u4e2a\u5206\u5e03\u5f0f\u534f\u8c03\u670d\u52a1\uff0c\u4e5f\u53ef\u4ee5\u7528\u4e8e\u914d\u7f6e\u7ba1\u7406\u3002Spring Cloud\u53ef\u4ee5\u901a\u8fc7\u96c6\u6210ZooKeeper\u6765\u5b9e\u73b0\u5206\u5e03\u5f0f\u914d\u7f6e\u4e2d\u5fc3\u7684\u529f\u80fd\u3002<\/li>\n<li><strong>\u7279\u70b9\uff1a<\/strong> \u63d0\u4f9b\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u3001\u6301\u4e45\u6027\u3001\u987a\u5e8f\u6027\u7b49\u7279\u6027\uff0c\u9002\u7528\u4e8e\u9700\u8981\u9ad8\u5ea6\u53ef\u9760\u6027\u548c\u4e00\u81f4\u6027\u7684\u573a\u666f\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<strong>Nacos\uff1a<\/strong><\/p>\n<ul>\n<li><strong>\u6982\u8ff0\uff1a<\/strong> Nacos\u662f\u963f\u91cc\u5df4\u5df4\u5f00\u6e90\u7684\u670d\u52a1\u53d1\u73b0\u548c\u914d\u7f6e\u7ba1\u7406\u5de5\u5177\u3002\u5b83\u96c6\u6210\u4e86\u6ce8\u518c\u4e2d\u5fc3\u548c\u914d\u7f6e\u4e2d\u5fc3\u7684\u529f\u80fd\uff0c\u53ef\u4ee5\u4f5c\u4e3aSpring Cloud\u5e94\u7528\u7a0b\u5e8f\u7684\u914d\u7f6e\u6e90\u3002<\/li>\n<li><strong>\u7279\u70b9\uff1a<\/strong> \u652f\u6301\u52a8\u6001\u914d\u7f6e\u3001\u670d\u52a1\u6ce8\u518c\u548c\u53d1\u73b0\uff0c\u63d0\u4f9b\u5bf9\u591a\u79cd\u6570\u636e\u7c7b\u578b\u7684\u914d\u7f6e\u652f\u6301\uff0c\u5982properties\u3001JSON\u3001XML\u7b49\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>\u8fd9\u4e9b\u5206\u5e03\u5f0f\u914d\u7f6e\u4e2d\u5fc3\u6846\u67b6\u63d0\u4f9b\u4e86\u4e0d\u540c\u7684\u529f\u80fd\u548c\u7279\u6027\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u6839\u636e\u9879\u76ee\u9700\u6c42\u548c\u504f\u597d\u9009\u62e9\u9002\u5408\u7684\u6846\u67b6\u3002\u5728\u9009\u62e9\u65f6\uff0c\u8003\u8651\u5230\u4e0e\u5176\u4ed6\u7ec4\u4ef6\u7684\u96c6\u6210\u3001\u6570\u636e\u5b58\u50a8\u540e\u7aef\u3001\u914d\u7f6e\u7684\u7248\u672c\u63a7\u5236\u3001\u52a8\u6001\u5237\u65b0\u7b49\u56e0\u7d20\u662f\u91cd\u8981\u7684\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728Spring Cloud\u4e2d\uff0c\u6709\u51e0\u79cd\u6d41\u884c\u7684\u5206\u5e03\u5f0f\u914d\u7f6e\u4e2d\u5fc3\u6846\u67b6\uff0c\u5176\u4e2d\u4e00\u4e9b\u4e3b\u8981\u5305\u62ec\uff1a Spring Cloud C [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[117],"tags":[],"class_list":["post-8823","post","type-post","status-publish","format-standard","hentry","category-springcloud"],"_links":{"self":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/8823","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/comments?post=8823"}],"version-history":[{"count":2,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/8823\/revisions"}],"predecessor-version":[{"id":16667,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/8823\/revisions\/16667"}],"wp:attachment":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/media?parent=8823"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/categories?post=8823"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/tags?post=8823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}