{"id":10006983,"date":"2022-12-16T18:03:10","date_gmt":"2022-12-16T10:03:10","guid":{"rendered":"https:\/\/ityet.com\/?p=10006983"},"modified":"2022-12-16T18:03:10","modified_gmt":"2022-12-16T10:03:10","slug":"nacos-2-2-%e6%ad%a3%e5%bc%8f%e5%8f%91%e5%b8%83%ef%bc%8c%e8%bf%99%e6%ac%a1%e6%9b%b4%e6%96%b0%e5%a4%aa%e7%82%b8%e4%ba%86%ef%bc%81","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10006983","title":{"rendered":"Nacos 2.2 \u6b63\u5f0f\u53d1\u5e03\uff0c\u8fd9\u6b21\u66f4\u65b0\u592a\u70b8\u4e86\uff01"},"content":{"rendered":"<p>\u5927\u5bb6\u597d\uff0c\u6211\u662f\u6808\u957f\uff0cNacos 2.2.0 \u6b63\u5f0f\u53d1\u5e03\u4e86\uff01<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc4ZZz\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>Nacos 2.2.0 \u8fd8\u771f\u662f\u4e00\u4e2a\u6bd4\u8f83\u91cd\u8981\u7684\u7248\u672c\uff0c\u56e0\u4e3a\u5b83\u6d89\u53ca\u4e86\u592a\u591a\u91cd\u5927\u66f4\u65b0\uff0c\u4eca\u5929\u6808\u957f\u7ed9\u5927\u5bb6\u6765\u89e3\u8bfb\u4e0b\u3002<\/p>\n<h2>Nacos 2.2.0 \u91cd\u5927\u66f4\u65b0<\/h2>\n<h3>1\u3001\u5220\u9664\u5197\u4f59\u4ee3\u7801<\/h3>\n<p>Nacos 2.2.0  \u5220\u9664\u4e86 Nacos 1.x \u7248\u672c\u4e2d Naming \u548c\u53cc\u5199\u76f8\u5173\u7684\u65e7\u5197\u4f59\u4ee3\u7801\uff0c\u6240\u4ee5\uff0c\u66f4\u65b0\u540e\uff0cNacos \u670d\u52a1\u7aef\u65e0\u6cd5\u76f4\u63a5\u4ece 1.x \u7248\u672c\u5347\u7ea7\u5230\u6700\u65b0\u7684 Nacos 2.2.0 \u7248\u672c\uff0c\u53ea\u80fd\u4ece Nacos 2.x \u7cfb\u5217\u7248\u672c\u8fdb\u884c\u5347\u7ea7\u3002<\/p>\n<p>Nacos Server \u6b63\u786e\u7684\u5347\u7ea7\u59ff\u52bf\uff1a<\/p>\n<blockquote>\n<p><del>Nacos 1.x -&gt; Nacos 2.2.0<\/del><\/p>\n<p>Nacos 2.x -&gt; Nacos 2.2.0<\/p>\n<\/blockquote>\n<p>\u5c3d\u7ba1\u672c\u6b21\u5347\u7ea7\u4f1a\u5f71\u54cd Nacos \u670d\u52a1\u7aef\u7684\u5347\u7ea7\uff0c\u4f46\u5374\u4e0d\u4f1a\u5f71\u54cd Nacos 1.x \u5ba2\u6237\u7aef\u7684\u9002\u914d\u53ca\u8bf7\u6c42\uff0cNacos  \u5ba2\u6237\u7aef\u4ecd\u7136\u53ef\u4ee5\u4f7f\u7528 1.x \u548c 2.2.0 \u7248\u672c\u3002<\/p>\n<h3>2\u3001\u65b0\u589e\u63d2\u4ef6<\/h3>\n<p>Nacos 2.2.0 \u65b0\u589e\u4e86\u4ee5\u4e0b\u51e0\u4e2a\u63d2\u4ef6\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u63d2\u4ef6<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u6570\u636e\u6e90\u63d2\u4ef6<\/td>\n<td>\u7531 Asoc 2022 \u9879\u76ee\u6dfb\u52a0\uff0c\u8ba9 Nacos \u53ef\u4ee5\u652f\u6301\u5176\u4ed6\u6570\u636e\u5e93<\/td>\n<\/tr>\n<tr>\n<td>\u81ea\u5b9a\u4e49\u73af\u5883\u63d2\u4ef6<\/td>\n<td>\u7531 Nacos \u793e\u533a\u6dfb\u52a0\uff0c\u7528\u4e8e\u5904\u7406 Nacos \u670d\u52a1\u5668\u7684\u914d\u7f6e\uff0c\u5982\u89e3\u5bc6\u6570\u636e\u5e93\u5bc6\u7801\u7b49<\/td>\n<\/tr>\n<tr>\n<td>\u8fde\u63a5\u9650\u5236\u63d2\u4ef6<\/td>\n<td>\u5bf9\u65e7\u7684 limit \u6a21\u5757\u8fdb\u884c\u4e86\u91cd\u6784\u5e76\u6269\u5c55\u66f4\u591a\u7684\u80fd\u529b\uff0c\u4ee5\u5728\u9ad8\u538b\u4e0b\u4fdd\u62a4 Nacos \u670d\u52a1\u5668<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>3\u3001\u589e\u5f3a\u63d2\u4ef6<\/h3>\n<p>Nacos 2.2.0 \u589e\u5f3a\u4e86\u8fd8\u5904\u4e8e beta \u9636\u6bb5\u7684 &#8220;<strong>\u8ddf\u8e2a\u63d2\u4ef6<\/strong>&#8221; \u548c &#8220;<strong>\u6279\u91cf\u6ce8\u518c<\/strong>&#8221; \u529f\u80fd\uff0c\u589e\u5f3a\u540e\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u66f4\u7b80\u5355\u7684\u4f7f\u7528\u8fd9\u4e9b\u529f\u80fd\u3002 <\/p>\n<p>\u66f4\u591a\u7ec6\u8282\u4f18\u5316\u53ca bug \u4fee\u590d\u53ef\u4ee5\u53ef\u53c2\u8003\u5b98\u65b9\u6587\u6863\uff1a<\/p>\n<blockquote><p><a href=\"https:\/\/link.segmentfault.com\/?enc=MY6RPzSKsrMxb8raVm4Q%2BQ%3D%3D.9mHxEgYXZIq4Wb16dTqgOdmfNI1xXCJe6W9uaTV0yzWX35iuMoHeZx%2FAy6lJIKPmdynY%2BsW0HswHsWtzHFNHTg%3D%3D\" rel=\"nofollow\">https:\/\/github.com\/alibaba\/na&#8230;<\/a><\/p><\/blockquote>\n<p>BTW\uff0c\u5982\u679c\u4f60\u60f3\u7cfb\u7edf\u5b66\u4e60 Spring Cloud Alibaba \u5fae\u670d\u52a1\uff0c\u5efa\u8bae\u62a5\u540d\u6808\u957f\u6700\u65b0\u51fa\u54c1\u7684\u300a<a href=\"https:\/\/link.segmentfault.com\/?enc=aNcSJz0u80kwOgh5ya4jeg%3D%3D.4Tm4A1d82yarlnQ%2FnwHEpkObnIhNo27zkpnxabdJ%2FAQONfuApzrsTo3ZnqhwPRVdoAAN6BD23%2F%2BIj8VfsqIegg%3D%3D\" rel=\"nofollow\">Spring Cloud Alibaba \u5fae\u670d\u52a1\u8bfe\u7a0b<\/a>\u300b\uff0c\u4e00\u6b21\u4ed8\u8d39\uff0c\u540e\u7eed\u90fd\u63d0\u4f9b\u514d\u8d39\u66f4\u65b0\uff0c\u6c38\u4e45\u5b66\u4e60\u3002<\/p>\n<h2>Spring Cloud Alibaba &#038; Nacos<\/h2>\n<p>\u73b0\u5728 Spring Cloud \u5fae\u670d\u52a1\u6280\u672f\u975e\u5e38\u706b\u554a\uff0c\u4f46\u65e9\u671f\u7684\u8bb8\u591a Spring Cloud Netflix \u76f8\u5173\u7ec4\u4ef6\uff0c\u6bd4\u5982 Eureka 2.x\u3001Ribbon\u3001Zuul\u3001Hystrix\u2026\u7b49\u8fd9\u4e9b\uff0c\u5b83\u4eec\u90fd\u65e9\u5df2\u505c\u6b62\u7ef4\u62a4\u66f4\u65b0\u4e86\uff0c\u5c5e\u4e8e\u8001\u7834\u65e7\u6280\u672f\u4e86\uff0c\u6211\u529d\u5927\u5bb6\u522b\u518d\u6d6a\u8d39\u65f6\u95f4\u5b66\u8fd9\u4e9b\u4e86\u3002<\/p>\n<p>\u9274\u4e8e Spring Cloud \u5404\u79cd\u7ec4\u4ef6\u7684\u505c\u6b62\u7ef4\u62a4\uff0c\u5b66\u4e60 Spring Cloud Alibaba \u662f\u76ee\u524d\u6700\u6b63\u786e\u7684\u59ff\u52bf\uff1a<\/p>\n<ul>\n<li>Spring Cloud Alibaba \u57fa\u4e8e Spring Cloud \u6784\u5efa\uff0c\u63d0\u4f9b\u4e86\u5bf9 Alibaba \u7ec4\u4ef6\u7684\u5c01\u88c5\u800c\u5df2\uff0c\u6bd4\u5982\uff1a<strong>Nacos\u3001Sentinel<\/strong> \u7b49\uff0c\u5176\u6700\u9876\u5c42\u7684\u62bd\u8c61\u8fd8\u662f Spring Cloud\uff0c<strong>\u6240\u4ee5\u5b66\u4e60 Spring Cloud Alibaba \u5c31\u662f\u5b66\u4e60 Spring Cloud\u3002<\/strong><\/li>\n<li><strong>Spring Cloud Alibaba \u4f5c\u4e3a Spring Cloud \u7684\u5b98\u65b9\u9876\u7ea7\u9879\u76ee<\/strong>\uff0c\u4e5f\u662f\u56fd\u5185\u6700\u5f3a\u5fae\u670d\u52a1\u6846\u67b6\u53ca\u4e8b\u5b9e\u4e0a\u7684\u6807\u51c6\uff0c\u6ca1\u6709\u4e4b\u4e00\u3002<\/li>\n<\/ul>\n<p>Spring Cloud Alibaba \u6700\u65b0\u6280\u672f\u6808\u5982\u4e0b\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th align=\"left\">\u7ec4\u4ef6<\/th>\n<th align=\"left\">Spring Cloud Netflix<\/th>\n<th align=\"left\">Spring Cloud Alibaba<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"left\">\u6ce8\u518c\u4e2d\u5fc3<\/td>\n<td align=\"left\">Eureka 1.x <del>Eureka 2.x<\/del>\uff08\u505c\u6b62\u7ef4\u62a4\uff09<\/td>\n<td align=\"left\">Nacos<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u914d\u7f6e\u4e2d\u5fc3<\/td>\n<td align=\"left\"><del>Archaius<\/del>\uff08\u505c\u6b62\u7ef4\u62a4\uff09<\/td>\n<td align=\"left\">Nacos<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u670d\u52a1\u5bb9\u9519<\/td>\n<td align=\"left\"><del>Hystrix<\/del>\uff08\u505c\u6b62\u7ef4\u62a4\uff09<\/td>\n<td align=\"left\">Sentinel<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u670d\u52a1\u8c03\u7528<\/td>\n<td align=\"left\">Feign<\/td>\n<td align=\"left\">Dubbo<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u8d1f\u8f7d\u5747\u8861<\/td>\n<td align=\"left\"><del>Ribbon<\/del>\uff08\u505c\u6b62\u7ef4\u62a4\uff09<\/td>\n<td align=\"left\">Dubbo<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u670d\u52a1\u7f51\u5173<\/td>\n<td align=\"left\"><del>Zuul<\/del>\uff08\u505c\u6b62\u7ef4\u62a4\uff09<\/td>\n<td align=\"left\">Dubbo<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u6d88\u606f\u961f\u5217<\/td>\n<td align=\"left\"> <\/td>\n<td align=\"left\">RocketMQ<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u5206\u5e03\u5f0f\u4e8b\u52a1<\/td>\n<td align=\"left\"> <\/td>\n<td align=\"left\">Seata<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u53ef\u4ee5\u770b\u5230\uff0cNacos \u662f Spring Cloud Alibaba \u5fae\u670d\u52a1\u4f53\u7cfb\u4e2d\u6700\u91cd\u8981\u7684\u6210\u5458\u4e4b\u4e00\uff0cNacos \u540c\u65f6\u626e\u6f14\u4e86<strong>\u6ce8\u518c\u4e2d\u5fc3\u548c\u914d\u7f6e\u4e2d\u5fc3<\/strong>\u7684\u53cc\u91cd\u89d2\u8272\uff0c\u5e76\u4e14\u7528\u8fc7 Nacos \u7684\u90fd\u77e5\u9053\u5b83\u529f\u80fd\u548c\u6027\u80fd\u90fd\u975e\u5e38\u5f3a\u608d\u3002<\/p>\n<p>\u5982\u4eca\uff0cNacos \u53d8\u5f97\u8d8a\u6765\u8d8a\u5f3a\u4e86\uff0c\u4f5c\u4e3a Spring Cloud Alibaba \u7684\u4e3b\u8981\u6210\u5458\u4e4b\u4e00\uff0c\u4e0d\u7ba1\u662f\u5de5\u4f5c\u9700\u8981\uff0c\u6216\u8005\u662f\u8df3\u69fd\u9762\u8bd5\uff0cNacos \u90fd\u662f\u5fc5\u5b66\u7684\uff0c\u5b83\u5df2\u6210\u4e3a\u4e86 Java \u7a0b\u5e8f\u5458\u5fc5\u5907\u7684\u6280\u672f\u4e4b\u4e00\uff0c\u6240\u4ee5\uff0c\u5927\u5bb6\u6709\u65f6\u95f4\u8fd8\u662f\u8981\u591a\u66f4\u65b0\u4e00\u4e9b\u6280\u80fd\u50a8\u5907\u3002<\/p>\n<p>\u597d\u4e86\uff0c\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\u4e86\uff0c\u540e\u7eed\u6808\u957f\u4e5f\u4f1a\u7ee7\u7eed\u5173\u6ce8\u5e76\u5206\u4eab\u66f4\u591a\u7684 Java \u6280\u672f\u5e72\u8d27\uff0c\u5173\u6ce8\u516c\u4f17\u53f7Java\u6280\u672f\u6808\u7b2c\u4e00\u65f6\u95f4\u63a8\u9001\u3002\u5982\u679c\u4f60\u60f3\u7cfb\u7edf\u5b66\u4e60 Spring Cloud Alibaba \u5fae\u670d\u52a1\uff0c\u4e5f\u53ef\u4ee5\u62a5\u540d\u6808\u957f\u6700\u65b0\u51fa\u54c1\u7684\u300a<a href=\"https:\/\/link.segmentfault.com\/?enc=5YpYn0hLYGR%2BkhUCI9MUNw%3D%3D.dlD6fIh6pdCE08l9ejUmCRtz6jAzW3IeDJB7LnQ%2FpBocL0SV3g84sKvzV6nzYMk86oqU%2FUtYVlEq0X8PzTNxNQ%3D%3D\" rel=\"nofollow\">Spring Cloud Alibaba \u5fae\u670d\u52a1\u8bfe\u7a0b<\/a>\u300b\uff0c\u4e00\u6b21\u4ed8\u8d39\uff0c\u540e\u7eed\u90fd\u63d0\u4f9b\u514d\u8d39\u66f4\u65b0\uff0c\u6c38\u4e45\u5b66\u4e60\u3002<\/p>\n<blockquote><p><strong>\u7248\u6743\u58f0\u660e\uff1a<\/strong> \u672c\u6587\u7cfb\u516c\u4f17\u53f7 &#8220;Java\u6280\u672f\u6808&#8221; \u539f\u521b\uff0c\u8f6c\u8f7d\u3001\u5f15\u7528\u672c\u6587\u5185\u5bb9\u8bf7\u6ce8\u660e\u51fa\u5904\uff0c\u6284\u88ad\u3001\u6d17\u7a3f\u4e00\u5f8b\u6295\u8bc9\u4fb5\u6743\uff0c\u540e\u679c\u81ea\u8d1f\uff0c\u5e76\u4fdd\u7559\u8ffd\u7a76\u5176\u6cd5\u5f8b\u8d23\u4efb\u7684\u6743\u5229\u3002<\/p><\/blockquote>\n<p><strong>\u8fd1\u671f\u70ed\u6587\u63a8\u8350\uff1a<\/strong><\/p>\n<p>1.<a href=\"https:\/\/link.segmentfault.com\/?enc=aOZTIHY2jcEqC16rzyxr2A%3D%3D.MOb6Zm6JtU3DlrnbfqFyQqNuPWQf%2B1aVfKfFxYi9Jkc%3D\" rel=\"nofollow\">1,000+ \u9053 Java\u9762\u8bd5\u9898\u53ca\u7b54\u6848\u6574\u7406(2022\u6700\u65b0\u7248)<\/a><\/p>\n<p>2.<a href=\"https:\/\/link.segmentfault.com\/?enc=1Qj%2Fl73zZK0dcGKJJ55Krg%3D%3D.pO%2F6q%2Bxh1BmJ1ZuWT8S4Yx9T8TU%2BUg59VOs6LJKv0VJr5o%2BKFImef%2BqfzaeTHdeDzCOiPSp3RCgCtUjqdKsxiw%3D%3D\" rel=\"nofollow\">\u52b2\u7206\uff01Java \u534f\u7a0b\u8981\u6765\u4e86\u3002\u3002\u3002<\/a><\/p>\n<p>3.<a href=\"https:\/\/link.segmentfault.com\/?enc=jvJ7Qp1gg2W6OTwoU95UqA%3D%3D.fNgbl1i6PTwlr5BUtbmsyQZ%2FrvrV7s%2Fa9FJpkDgPv1mhKzl1a%2Bq56AMS3q2vl%2Fms\" rel=\"nofollow\">Spring Boot 2.x \u6559\u7a0b\uff0c\u592a\u5168\u4e86\uff01<\/a><\/p>\n<p>4.<a href=\"https:\/\/link.segmentfault.com\/?enc=FfghvUtOZ9DDV75mtCsT9A%3D%3D.VlPNVqElmg4E7X%2BYUB9LmNgtT4yXaRnP3FZ1bl6QAf%2F6c3SU4LEmvHCUqGSUd19mfBv0st%2BTAPFR7ZIw%2FlAbYA%3D%3D\" rel=\"nofollow\">\u522b\u518d\u5199\u6ee1\u5c4f\u7684\u7206\u7206\u7206\u70b8\u7c7b\u4e86\uff0c\u8bd5\u8bd5\u88c5\u9970\u5668\u6a21\u5f0f\uff0c\u8fd9\u624d\u662f\u4f18\u96c5\u7684\u65b9\u5f0f\uff01\uff01<\/a><\/p>\n<p>5.<a href=\"https:\/\/link.segmentfault.com\/?enc=8pV%2F3ilVGeCLqJkWfI8nVg%3D%3D.uLK%2BpTotJCSrcAPEIurGDjGkef%2BuIG7C3wh928vsDofge7wST1BqpV10F%2BMa4%2FREMlR7bJgOckkC8KF01k7YklByMHPtXe5REqfjvk4eIN8%3D\" rel=\"nofollow\">\u300aJava\u5f00\u53d1\u624b\u518c\uff08\u5d69\u5c71\u7248\uff09\u300b\u6700\u65b0\u53d1\u5e03\uff0c\u901f\u901f\u4e0b\u8f7d\uff01<\/a><\/p>\n<p>\u89c9\u5f97\u4e0d\u9519\uff0c\u522b\u5fd8\u4e86\u968f\u624b\u70b9\u8d5e+\u8f6c\u53d1\u54e6\uff01<\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000043098272\">https:\/\/segmentfault.com\/a\/1190000043098272<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5927\u5bb6\u597d\uff0c\u6211\u662f\u6808\u957f\uff0cNacos 2.2.0 \u6b63\u5f0f\u53d1\u5e03\u4e86\uff01 Nacos 2.2.0 \u8fd8\u771f\u662f\u4e00\u4e2a\u6bd4\u8f83\u91cd\u8981\u7684\u7248\u672c\uff0c\u56e0\u4e3a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10006983","post","type-post","status-publish","format-standard","hentry","category-share"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10006983","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10006983"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10006983\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10006983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10006983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10006983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}