{"id":10020697,"date":"2025-04-05T16:57:28","date_gmt":"2025-04-05T08:57:28","guid":{"rendered":"https:\/\/itmax.cn\/?p=10020697"},"modified":"2025-04-05T16:57:28","modified_gmt":"2025-04-05T08:57:28","slug":"dubbo-%e4%b8%ad%e7%9a%84%e9%9b%86%e7%be%a4%e5%ae%b9%e9%94%99","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10020697","title":{"rendered":"Dubbo \u4e2d\u7684\u96c6\u7fa4\u5bb9\u9519"},"content":{"rendered":"<h3>\u524d\u8a00<\/h3>\n<p>\u5728\u5fae\u670d\u52a1\u67b6\u6784\u4e2d\uff0c\u670d\u52a1\u95f4\u7684\u4f9d\u8d56\u5173\u7cfb\u590d\u6742\u4e14\u52a8\u6001\uff0c\u4efb\u4f55\u4e00\u4e2a\u670d\u52a1\u7684\u6545\u969c\u90fd\u53ef\u80fd\u5f15\u53d1\u8fde\u9501\u53cd\u5e94\uff0c\u5bfc\u81f4\u7cfb\u7edf\u96ea\u5d29\u3002\u4e00\u4e2a\u597d\u7684\u5bb9\u9519\u8bbe\u8ba1\u53ef\u4ee5\u907f\u514d\u8fd9\u4e9b\u95ee\u9898\u53d1\u751f\uff1a<\/p>\n<ul>\n<li><strong>\u670d\u52a1\u96ea\u5d29\u6548\u5e94<\/strong>\uff1a\u5355\u4e2a\u670d\u52a1\u5d29\u6e83\u6216\u54cd\u5e94\u5ef6\u8fdf\u53ef\u80fd\u5bfc\u81f4\u8c03\u7528\u94fe\u4e0a\u7684\u6240\u6709\u670d\u52a1\u88ab\u963b\u585e\uff0c\u6700\u7ec8\u62d6\u57ae\u6574\u4e2a\u7cfb\u7edf\u3002\u4f8b\u5982\uff0c\u82e5\u670d\u52a1 A \u4f9d\u8d56\u670d\u52a1 B\uff0c\u800c\u670d\u52a1 B \u56e0\u9ad8\u8d1f\u8f7d\u65e0\u6cd5\u54cd\u5e94\uff0cA \u7684\u7ebf\u7a0b\u6c60\u53ef\u80fd\u88ab\u5360\u6ee1\uff0c\u8fdb\u800c\u5f71\u54cd\u5176\u4ed6\u4f9d\u8d56A\u7684\u670d\u52a1\uff1b<\/li>\n<li><strong>\u5206\u5e03\u5f0f\u7cfb\u7edf\u7684\u8106\u5f31\u6027<\/strong>\uff1a\u7f51\u7edc\u6296\u52a8\u3001\u8282\u70b9\u5b95\u673a\u3001\u8d44\u6e90\u8017\u5c3d\u7b49\u95ee\u9898\u5728\u5206\u5e03\u5f0f\u73af\u5883\u4e2d\u4e0d\u53ef\u907f\u514d\u3002\u5bb9\u9519\u673a\u5236\u901a\u8fc7\u5197\u4f59\u548c\u5feb\u901f\u5931\u8d25\u7b56\u7565\uff0c\u786e\u4fdd\u90e8\u5206\u6545\u969c\u4e0d\u4f1a\u6269\u6563\u5230\u6574\u4e2a\u7cfb\u7edf\uff1b<\/li>\n<li><strong>\u670d\u52a1\u53ef\u7528\u6027\u4f4e<\/strong>\uff1a\u5fae\u670d\u52a1\u7684\u76ee\u6807\u662f\u63d0\u5347\u7cfb\u7edf\u53ef\u7528\u6027\uff0c\u800c\u5bb9\u9519\u8bbe\u8ba1\uff08\u5982\u6545\u969c\u8f6c\u79fb\u3001\u7194\u65ad\uff09\u662f\u4fdd\u969c\u670d\u52a1\u6301\u7eed\u53ef\u7528\u7684\u6838\u5fc3\u624b\u6bb5\u3002\u4f8b\u5982\uff0c\u901a\u8fc7\u81ea\u52a8\u5207\u6362\u5065\u5eb7\u8282\u70b9\uff0c\u907f\u514d\u5355\u70b9\u6545\u969c\u3002<\/li>\n<\/ul>\n<h3>Dubbo \u7684\u96c6\u7fa4\u5bb9\u9519\u673a\u5236<\/h3>\n<p>\u5728 Dubbo \u4e2d\uff0c\u591a\u4e2a Provider \u5b9e\u4f8b\u6784\u6210\u4e00\u4e2a\u300c\u96c6\u7fa4\u300d\u3002\u6d88\u8d39\u8005\u8c03\u7528\u65f6\uff0cDubbo \u901a\u8fc7 Cluster \u6a21\u5757\u5b9e\u73b0\u5bb9\u9519\u7b56\u7565\u7684\u5c01\u88c5\u548c\u8def\u7531\uff0cCluster \u6a21\u5757\u4f1a\u6839\u636e\u914d\u7f6e\uff08\u5982 cluster=failover\uff09\u88c5\u914d\u4e0d\u540c\u7684\u5bb9\u9519\u7b56\u7565\u5b9e\u73b0\u7c7b\uff0c\u5bf9 Directory \u4e2d\u7684\u591a\u4e2a Invoker \u8fdb\u884c\u5904\u7406\uff0c\u8fd4\u56de\u4e00\u4e2a\u53ef\u6267\u884c\u7684 Invoker\u3002Dubbo \u5f53\u524d\u5df2\u652f\u6301\u4ee5\u4e0b 6 \u79cd\u5bb9\u9519\u7b56\u7565\uff08\u5728 <code>org.apache.dubbo.rpc.cluster.support<\/code> \u5305\u4e0b\uff09\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th align=\"center\">\u7b56\u7565\u7b80\u79f0<\/th>\n<th align=\"center\">\u5b9e\u73b0\u7c7b\u540d<\/th>\n<th align=\"center\">\u7279\u6027<\/th>\n<th align=\"center\">\u4f7f\u7528\u573a\u666f<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\">Failover<\/td>\n<td align=\"center\">FailoverClusterInvoker<\/td>\n<td align=\"center\">\u5931\u8d25\u81ea\u52a8\u91cd\u8bd5\uff0c\u9ed8\u8ba4\u5b9e\u73b0<\/td>\n<td align=\"center\">\u7f51\u7edc\u4e0d\u7a33\u5b9a\uff0c\u6c11\u767b\u64cd\u4f5c<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">Failfast<\/td>\n<td align=\"center\">FailfastClusterInvoker<\/td>\n<td align=\"center\">\u5feb\u901f\u5931\u8d25\uff0c\u4e0d\u91cd\u8bd5<\/td>\n<td align=\"center\">\u54cd\u5e94\u65f6\u95f4\u654f\u611f\uff0c\u975e\u5e42\u7b49<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">Failsafe<\/td>\n<td align=\"center\">FailsafeClusterInvoker<\/td>\n<td align=\"center\">\u5931\u8d25\u5ffd\u7565\u5f02\u5e38<\/td>\n<td align=\"center\">\u65e5\u5fd7\u8bb0\u5f55\u3001\u76d1\u63a7\u7b49\u975e\u4e3b\u8981\u573a\u666f<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">Failback<\/td>\n<td align=\"center\">FailbackClusterInvoker<\/td>\n<td align=\"center\">\u5931\u8d25\u540e\u540e\u53f0\u91cd\u8bd5<\/td>\n<td align=\"center\">\u53ef\u5bb9\u5fcd\u5931\u8d25\uff0c\u540e\u7eed\u8865\u507f\u91cd\u8bd5<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">Forking<\/td>\n<td align=\"center\">ForkingClusterInvoker<\/td>\n<td align=\"center\">\u5e76\u884c\u8c03\u7528\u591a\u4e2a\u8282\u70b9\uff0c\u6700\u5feb\u6210\u529f\u8fd4\u56de<\/td>\n<td align=\"center\">\u5b9e\u65f6\u6027\u8981\u6c42\u9ad8\uff0c\u8d44\u6e90\u5145\u8db3<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">Broadcast<\/td>\n<td align=\"center\">BroadcastClusterInvoker<\/td>\n<td align=\"center\">\u5e7f\u64ad\u65b9\u5f0f\u8c03\u7528\u6240\u6709\u670d\u52a1\u63d0\u4f9b\u7740<\/td>\n<td align=\"center\">\u914d\u7f6e\u66f4\u65b0\u3001\u901a\u77e5\u7c7b\u7b49\u64cd\u4f5c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>Failover Cluster\uff08\u5931\u8d25\u81ea\u52a8\u5207\u6362\uff0c\u9ed8\u8ba4\u7b56\u7565\uff09<\/h4>\n<p><strong>\u5b9e\u73b0\u539f\u7406<\/strong>\uff1a\u901a\u8fc7\u5faa\u73af\u91cd\u8bd5\u5b9e\u73b0\u5bb9\u9519\u3002<br \/>\u5b9e\u73b0\u6e90\u7801\u5173\u952e\u70b9\uff1a<\/p>\n<ol>\n<li>FailoverClusterInvoker \u7684 doInvoke \u65b9\u6cd5\u4e2d\uff0c\u901a\u8fc7 for \u5faa\u73af\u63a7\u5236\u91cd\u8bd5\u6b21\u6570\uff08\u9ed8\u8ba4\u91cd\u8bd5 2 \u6b21\uff0c\u5171\u8c03\u7528 3 \u6b21\uff09;<\/li>\n<li>\u6bcf\u6b21\u91cd\u8bd5\u524d\u8c03\u7528 list(invocation) \u91cd\u65b0\u83b7\u53d6\u6700\u65b0\u7684 Invoker \u5217\u8868\uff0c\u786e\u4fdd\u52a8\u6001\u611f\u77e5\u8282\u70b9\u53d8\u5316\u3002<\/li>\n<\/ol>\n<pre><code class=\"Java\">\/\/ \u4ee3\u7801\u7247\u6bb5\uff1aorg.apache.dubbo.rpc.cluster.support.FailoverClusterInvoker#doInvoke\nfor (int i = 0; i &lt; len; i++) {\n    if (i &gt; 0) {\n        copyInvokers = list(invocation); \/\/ \u52a8\u6001\u5237\u65b0 Invoker \u5217\u8868\n    }\n    Invoker&lt;T&gt; invoker = select(loadbalance, invocation, copyInvokers, invoked);\n    \/\/ \u8c03\u7528\u5e76\u5904\u7406\u5f02\u5e38...\n}<\/code><\/pre>\n<h4>Failfast Cluster\uff08\u5feb\u901f\u5931\u8d25\uff09<\/h4>\n<p><strong>\u5b9e\u73b0\u539f\u7406<\/strong>\uff1a\u4ec5\u53d1\u8d77\u4e00\u6b21\u8c03\u7528\uff0c\u5f02\u5e38\u76f4\u63a5\u629b\u51fa\u3002<br \/>\u5b9e\u73b0\u6e90\u7801\u5173\u952e\u70b9\uff1a<\/p>\n<ol>\n<li>FailfastClusterInvoker \u76f4\u63a5\u8c03\u7528\u76ee\u6807 Invoker\uff0c\u4e0d\u8fdb\u884c\u91cd\u8bd5\u3002<\/li>\n<\/ol>\n<pre><code class=\"Java\">\/\/ \u4ee3\u7801\u7247\u6bb5\uff1aorg.apache.dubbo.rpc.cluster.support.FailfastClusterInvoker#doInvoke\nfpublic Result doInvoke(...) throws RpcException {\n    checkInvokers(invokers, invocation);\n    Invoker&lt;T&gt; invoker = select(loadbalance, invocation, invokers, null);\n    return invoker.invoke(invocation); \/\/ \u4ec5\u4e00\u6b21\u8c03\u7528\n}<\/code><\/pre>\n<h4>Failsafe Cluster\uff08\u5931\u8d25\u5b89\u5168\uff09<\/h4>\n<p><strong>\u5b9e\u73b0\u539f\u7406<\/strong>\uff1a\u5f02\u5e38\u88ab\u6355\u83b7\u540e\u8fd4\u56de\u7a7a\u7ed3\u679c\uff0c\u4e0d\u4e2d\u65ad\u6d41\u7a0b\u3002<br \/>\u5b9e\u73b0\u6e90\u7801\u5173\u952e\u70b9\uff1a<\/p>\n<ol>\n<li>ailsafeClusterInvoker\u901a\u8fc7try-catch\u6355\u83b7\u5f02\u5e38\u5e76\u8bb0\u5f55\u65e5\u5fd7\u3002<\/li>\n<\/ol>\n<pre><code class=\"Java\">\/\/ \u4ee3\u7801\u7247\u6bb5\uff1aorg.apache.dubbo.rpc.cluster.support.FailsafeClusterInvoker\ntry {\n    \/\/ \u8c03\u7528\u903b\u8f91...\n} catch (Throwable e) {\n    logger.error(&quot;Failsafe ignore exception&quot;, e);\n    return new RpcResult(); \/\/ \u8fd4\u56de\u7a7a\u7ed3\u679c\n}<\/code><\/pre>\n<h4>Failback Cluster\uff08\u5931\u8d25\u81ea\u52a8\u6062\u590d\uff09<\/h4>\n<p><strong>\u5b9e\u73b0\u539f\u7406<\/strong>\uff1a\u5931\u8d25\u8bf7\u6c42\u5b58\u5165\u961f\u5217\uff0c\u5b9a\u65f6\u91cd\u8bd5\u3002<br \/>\u5b9e\u73b0\u6e90\u7801\u5173\u952e\u70b9\uff1a<\/p>\n<ol>\n<li>\u6355\u83b7\u5931\u8d25\u5f02\u5e38\uff0c\u4f7f\u7528 RetryTimerTask \u5b58\u50a8\u5931\u8d25\u8bf7\u6c42\uff0c\u5b9a\u65f6\u89e6\u53d1\u91cd\u8bd5\u3002<\/li>\n<\/ol>\n<pre><code class=\"Java\">\/\/ \u4ee3\u7801\u7247\u6bb5\uff1aorg.apache.dubbo.rpc.cluster.support.FailbackClusterInvoker#doInvoke\nprivate void addFailed(\n        LoadBalance loadbalance,\n        Invocation invocation,\n        List&lt;Invoker&lt;T&gt;&gt; invokers,\n        Invoker&lt;T&gt; lastInvoker,\n        URL consumerUrl) {\n    if (failTimer == null) {\n        synchronized (this) {\n            if (failTimer == null) {\n                failTimer = new HashedWheelTimer(\n                        new NamedThreadFactory(&quot;failback-cluster-timer&quot;, true),\n                        1,\n                        TimeUnit.SECONDS,\n                        32,\n                        failbackTasks);\n            }\n        }\n    }\n    RetryTimerTask retryTimerTask = new RetryTimerTask(\n            loadbalance, invocation, invokers, lastInvoker, retries, RETRY_FAILED_PERIOD, consumerUrl);\n    try {\n        failTimer.newTimeout(retryTimerTask, RETRY_FAILED_PERIOD, TimeUnit.SECONDS);\n    } catch (Throwable e) {\n        logger.error(\n                CLUSTER_TIMER_RETRY_FAILED,\n                &quot;add newTimeout exception&quot;,\n                &quot;&quot;,\n                &quot;Failback background works error, invocation-&gt;&quot; + invocation + &quot;, exception: &quot; + e.getMessage(),\n                e);\n    }\n}<\/code><\/pre>\n<h4>Forking Cluster\uff08\u5e76\u884c\u8c03\u7528\uff09<\/h4>\n<p><strong>\u5b9e\u73b0\u539f\u7406<\/strong>\uff1a\u5e76\u53d1\u8c03\u7528\u591a\u4e2a\u8282\u70b9\uff0c\u9996\u4e2a\u6210\u529f\u7ed3\u679c\u5373\u8fd4\u56de\u3002<br \/>\u5b9e\u73b0\u6e90\u7801\u5173\u952e\u70b9\uff1a<\/p>\n<ol>\n<li>\u4f7f\u7528\u7ebf\u7a0b\u6c60\u5e76\u53d1\u8c03\u7528\uff0c\u7ed3\u679c\u901a\u8fc7 BlockingQueue \u5f02\u6b65\u63a5\u6536\u3002<\/li>\n<\/ol>\n<pre><code class=\"Java\">\/\/ \u4ee3\u7801\u7247\u6bb5\uff1aorg.apache.dubbo.rpc.cluster.support.ForkingClusterInvoker#doInvoke\nfor (Invoker&lt;T&gt; invoker : selected) {\n    executor.execute(() -&gt; {\n        Result result = invoker.invoke(invocation);\n        ref.offer(result); \/\/ \u7ed3\u679c\u5b58\u5165\u961f\u5217\n    });\n}<\/code><\/pre>\n<h4>Broadcast Cluster\uff08\u5e7f\u64ad\u8c03\u7528\uff09<\/h4>\n<p><strong>\u5b9e\u73b0\u539f\u7406<\/strong>\uff1a\u9010\u4e2a\u8c03\u7528\u6240\u6709\u8282\u70b9\uff0c\u4efb\u4e00\u5931\u8d25\u5219\u6574\u4f53\u5931\u8d25\u3002<br \/>\u5b9e\u73b0\u6e90\u7801\u5173\u952e\u70b9\uff1a<\/p>\n<ol>\n<li>\u904d\u5386\u6240\u6709 Invoker \u8c03\u7528\uff0c\u5f02\u5e38\u7d2f\u79ef\u540e\u629b\u51fa\u3002<\/li>\n<\/ol>\n<pre><code class=\"Java\">\/\/ \u4ee3\u7801\u7247\u6bb5\uff1aorg.apache.dubbo.rpc.cluster.support.BroadcastClusterInvoker#doInvoke\nfor (Invoker&lt;T&gt; invoker : invokers) {\n    try {\n        invoker.invoke(invocation);\n    } catch (RpcException e) {\n        exception = e;\n    }\n}\nif (exception != null) throw exception;<\/code><\/pre>\n<h3>\u5982\u4f55\u81ea\u5b9a\u4e49\u96c6\u7fa4\u5bb9\u9519\u7b56\u7565<\/h3>\n<p>\u5982\u679c\u4ee5\u4e0a\u63d0\u4f9b\u7684\u5bb9\u9519\u7b56\u7565\u4e0d\u6ee1\u8db3\u9700\u6c42\uff0cDubbo \u652f\u6301\u901a\u8fc7 SPI \u81ea\u5b9a\u4e49 Cluster \u5b9e\u73b0\uff0c\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<h5>\u7b2c\u4e00\u6b65\uff1a\u5b9e\u73b0 Cluster \u548c AbstractClusterInvoker<\/h5>\n<pre><code class=\"Java\">@SPI(&quot;custom&quot;)\npublic class MyCluster implements Cluster {\n\n    @Override\n    public &lt;T&gt; Invoker&lt;T&gt; join(Directory&lt;T&gt; directory) {\n        return new MyClusterInvoker&lt;&gt;(directory);\n    }\n\n}<\/code><\/pre>\n<pre><code class=\"Java\">public class MyClusterInvoker&lt;T&gt; extends AbstractClusterInvoker&lt;T&gt; {\n\n    @Override\n    protected Result doInvoke(Invocation invocation, List&lt;Invoker&lt;T&gt;&gt; invokers, LoadBalance loadbalance) {\n        \/\/ \u81ea\u5b9a\u4e49\u903b\u8f91\uff0c\u4f8b\u5982\u6761\u4ef6\u91cd\u8bd5\u3001\u52a8\u6001\u8def\u7531\u7b49\n    }\n\n}<\/code><\/pre>\n<h5>\u7b2c\u4e8c\u6b65\uff1a\u6dfb\u52a0 SPI \u914d\u7f6e<\/h5>\n<p>\u5728 <code>META-INF\/dubbo\/org.apache.dubbo.rpc.cluster.Cluster<\/code> \u4e2d\u6dfb\u52a0\u914d\u7f6e\uff1a<\/p>\n<pre><code class=\"xml\">mycluster=com.example.MyCluster<\/code><\/pre>\n<h5>\u7b2c\u4e09\u6b65\uff1a\u914d\u7f6e\u4f7f\u7528\u81ea\u5b9a\u4e49\u5bb9\u9519\u7b56\u7565<\/h5>\n<pre><code class=\"xml\">&lt;dubbo:reference cluster=&quot;mycluster&quot; \/&gt;<\/code><\/pre>\n<h3>\u603b\u7ed3<\/h3>\n<p>\u5efa\u8bae\u6838\u5fc3\u670d\u52a1\u4f18\u5148\u4f7f\u7528 <code>Failover\uff08\u5931\u8d25\u81ea\u52a8\u5207\u6362\uff09<\/code> \u7b56\u7565\u4fdd\u969c\u53ef\u7528\u6027\uff0c\u975e\u6838\u5fc3\u670d\u52a1\u53ef\u964d\u7ea7\u4e3a <code>Failsafe\uff08\u5931\u8d25\u5b89\u5168\uff09<\/code>\u3002\u540c\u65f6\u7ed3\u5408 <a href=\"https:\/\/link.segmentfault.com\/?enc=zeIzQ7dXM%2FdCWFq7zo7VNg%3D%3D.SO%2F2LgP4UkQ8aJtF4kXZ34%2B4sHVZWoVOmZxd5ogTaQ2F5puTJjlQD57klaN2aUQS\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">Hystrix(\u5df2\u505c\u6b62\u66f4\u65b0)<\/a> \u6216 <a href=\"https:\/\/link.segmentfault.com\/?enc=vBlHVA7lJ7%2FIk%2Bq8O%2BNnXA%3D%3D.5B7v1%2FkyEk6Q7ChHMG5BB80p1yCvbdRysIDvPm2In5dLvwsT76%2FwKLroa2rQw%2Biv\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">Sentinel<\/a> \u5b9e\u73b0\u7194\u65ad\u4e0e\u9650\u6d41\uff0c\u589e\u5f3a\u5bb9\u9519\u80fd\u529b\u3002<\/p>\n<p>\u901a\u8fc7\u7075\u6d3b\u7ec4\u5408 Dubbo \u7684\u5bb9\u9519\u7b56\u7565\uff0c\u53ef\u663e\u8457\u63d0\u5347\u5206\u5e03\u5f0f\u7cfb\u7edf\u7684\u9c81\u68d2\u6027\u3002\u5b9e\u9645\u5e94\u7528\u914d\u7f6e\u65f6\u9700\u8981\u6839\u636e\u4e1a\u52a1\u7279\u6027\u6743\u8861\u5ef6\u8fdf\u3001\u8d44\u6e90\u5f00\u9500\u4e0e\u4e00\u81f4\u6027\u8981\u6c42\uff0c\u4e00\u5207\u7686\u662f trade off \uff5e<\/p>\n<p><strong>P.S.<\/strong> \u4e0d\u59a8\u518d\u6df1\u5165\u601d\u8003\u4e00\u4e0b\uff1aDubbo \u7684\u96c6\u7fa4\u5bb9\u9519\u5b9e\u73b0\u4e2d\u6709\u54ea\u4e9b\u4f18\u79c0\u8bbe\u8ba1\u503c\u5f97\u6211\u4eec\u5b66\u4e60\uff1f<\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000046416761\">https:\/\/segmentfault.com\/a\/1190000046416761<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 \u5728\u5fae\u670d\u52a1\u67b6\u6784\u4e2d\uff0c\u670d\u52a1\u95f4\u7684\u4f9d\u8d56\u5173\u7cfb\u590d\u6742\u4e14\u52a8\u6001\uff0c\u4efb\u4f55\u4e00\u4e2a\u670d\u52a1\u7684\u6545\u969c\u90fd\u53ef\u80fd\u5f15\u53d1\u8fde\u9501\u53cd\u5e94\uff0c\u5bfc\u81f4\u7cfb\u7edf\u96ea\u5d29\u3002\u4e00\u4e2a\u597d\u7684 [&hellip;]<\/p>\n","protected":false},"author":4,"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-10020697","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\/10020697","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\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10020697"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10020697\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10020697"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10020697"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10020697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}