blob: 9922f49f41bcdc4790eb2ed6d7a18b0c68428370 [file] [log] [blame]
"use strict";(self.webpackChunkrocketmq_docs=self.webpackChunkrocketmq_docs||[]).push([[6473],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>s});var a=t(96540);function n(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function l(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,a)}return t}function p(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?l(Object(t),!0).forEach((function(r){n(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):l(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function i(e,r){if(null==e)return{};var t,a,n=function(e,r){if(null==e)return{};var t,a,n={},l=Object.keys(e);for(a=0;a<l.length;a++)t=l[a],r.indexOf(t)>=0||(n[t]=e[t]);return n}(e,r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)t=l[a],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}var o=a.createContext({}),y=function(e){var r=a.useContext(o),t=r;return e&&(t="function"==typeof e?e(r):p(p({},r),e)),t},u=function(e){var r=y(e.components);return a.createElement(o.Provider,{value:r},e.children)},g="mdxType",c={inlineCode:"code",wrapper:function(e){var r=e.children;return a.createElement(a.Fragment,{},r)}},m=a.forwardRef((function(e,r){var t=e.components,n=e.mdxType,l=e.originalType,o=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),g=y(t),m=n,s=g["".concat(o,".").concat(m)]||g[m]||c[m]||l;return t?a.createElement(s,p(p({ref:r},u),{},{components:t})):a.createElement(s,p({ref:r},u))}));function s(e,r){var t=arguments,n=r&&r.mdxType;if("string"==typeof e||n){var l=t.length,p=new Array(l);p[0]=m;var i={};for(var o in r)hasOwnProperty.call(r,o)&&(i[o]=r[o]);i.originalType=e,i[g]="string"==typeof e?e:n,p[1]=i;for(var y=2;y<l;y++)p[y]=t[y];return a.createElement.apply(null,p)}return a.createElement.apply(null,t)}m.displayName="MDXCreateElement"},60542:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>o,contentTitle:()=>p,default:()=>c,frontMatter:()=>l,metadata:()=>i,toc:()=>y});var a=t(58168),n=(t(96540),t(15680));const l={},p="\u6d88\u606f\u53d1\u9001\u91cd\u8bd5\u548c\u6d41\u63a7\u673a\u5236",i={unversionedId:"featureBehavior/05sendretrypolicy",id:"version-5.0/featureBehavior/05sendretrypolicy",title:"\u6d88\u606f\u53d1\u9001\u91cd\u8bd5\u548c\u6d41\u63a7\u673a\u5236",description:"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd Apache RocketMQ \u7684\u6d88\u606f\u53d1\u9001\u91cd\u8bd5\u673a\u5236\u548c\u6d88\u606f\u6d41\u63a7\u673a\u5236\u3002",source:"@site/versioned_docs/version-5.0/04-featureBehavior/05sendretrypolicy.md",sourceDirName:"04-featureBehavior",slug:"/featureBehavior/05sendretrypolicy",permalink:"/zh/docs/featureBehavior/05sendretrypolicy",draft:!1,editUrl:"https://github.com/apache/rocketmq-site/tree/new-official-website/versioned_docs/version-5.0/04-featureBehavior/05sendretrypolicy.md",tags:[],version:"5.0",frontMatter:{},sidebar:"version-5.0/myAutogeneratedSidebar",previous:{title:"\u4e8b\u52a1\u6d88\u606f",permalink:"/zh/docs/featureBehavior/04transactionmessage"},next:{title:"\u6d88\u8d39\u8005\u5206\u7c7b",permalink:"/zh/docs/featureBehavior/06consumertype"}},o={},y=[{value:"\u80cc\u666f\u4fe1\u606f",id:"\u80cc\u666f\u4fe1\u606f",level:2},{value:"\u6d88\u606f\u53d1\u9001\u91cd\u8bd5\u673a\u5236",id:"\u6d88\u606f\u53d1\u9001\u91cd\u8bd5\u673a\u5236",level:2},{value:"\u91cd\u8bd5\u57fa\u672c\u6982\u5ff5",id:"\u91cd\u8bd5\u57fa\u672c\u6982\u5ff5",level:3},{value:"\u91cd\u8bd5\u6d41\u7a0b",id:"\u91cd\u8bd5\u6d41\u7a0b",level:3},{value:"\u91cd\u8bd5\u95f4\u9694",id:"\u91cd\u8bd5\u95f4\u9694",level:3},{value:"\u529f\u80fd\u7ea6\u675f",id:"\u529f\u80fd\u7ea6\u675f",level:3},{value:"\u6d88\u606f\u6d41\u63a7\u673a\u5236",id:"\u6d88\u606f\u6d41\u63a7\u673a\u5236",level:2},{value:"\u6d88\u606f\u6d41\u63a7\u57fa\u672c\u6982\u5ff5",id:"\u6d88\u606f\u6d41\u63a7\u57fa\u672c\u6982\u5ff5",level:3},{value:"\u89e6\u53d1\u6761\u4ef6",id:"\u89e6\u53d1\u6761\u4ef6",level:3},{value:"\u6d41\u63a7\u884c\u4e3a",id:"\u6d41\u63a7\u884c\u4e3a",level:3},{value:"\u5904\u7406\u5efa\u8bae",id:"\u5904\u7406\u5efa\u8bae",level:3}],u={toc:y},g="wrapper";function c(e){let{components:r,...t}=e;return(0,n.yg)(g,(0,a.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,n.yg)("h1",{id:"\u6d88\u606f\u53d1\u9001\u91cd\u8bd5\u548c\u6d41\u63a7\u673a\u5236"},"\u6d88\u606f\u53d1\u9001\u91cd\u8bd5\u548c\u6d41\u63a7\u673a\u5236"),(0,n.yg)("p",null,"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd Apache RocketMQ \u7684\u6d88\u606f\u53d1\u9001\u91cd\u8bd5\u673a\u5236\u548c\u6d88\u606f\u6d41\u63a7\u673a\u5236\u3002"),(0,n.yg)("h2",{id:"\u80cc\u666f\u4fe1\u606f"},"\u80cc\u666f\u4fe1\u606f"),(0,n.yg)("p",null,(0,n.yg)("strong",{parentName:"p"},"\u6d88\u606f\u53d1\u9001\u91cd\u8bd5")),(0,n.yg)("p",null,"Apache RocketMQ\u7684\u6d88\u606f\u53d1\u9001\u91cd\u8bd5\u673a\u5236\u4e3b\u8981\u4e3a\u60a8\u89e3\u7b54\u5982\u4e0b\u95ee\u9898\uff1a"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u90e8\u5206\u8282\u70b9\u5f02\u5e38\u662f\u5426\u5f71\u54cd\u6d88\u606f\u53d1\u9001\uff1f")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u8bf7\u6c42\u91cd\u8bd5\u662f\u5426\u4f1a\u963b\u585e\u4e1a\u52a1\u8c03\u7528\uff1f")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u8bf7\u6c42\u91cd\u8bd5\u4f1a\u5e26\u6765\u4ec0\u4e48\u4e0d\u8db3\uff1f"))),(0,n.yg)("p",null,(0,n.yg)("strong",{parentName:"p"},"\u6d88\u606f\u6d41\u63a7")),(0,n.yg)("p",null,"Apache RocketMQ \u7684\u6d41\u63a7\u673a\u5236\u4e3b\u8981\u4e3a\u60a8\u89e3\u7b54\u5982\u4e0b\u95ee\u9898\uff1a"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u7cfb\u7edf\u5728\u4ec0\u4e48\u60c5\u51b5\u4e0b\u4f1a\u89e6\u53d1\u6d41\u63a7\uff1f")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u89e6\u53d1\u6d41\u63a7\u65f6\u5ba2\u6237\u7aef\u884c\u4e3a\u662f\u4ec0\u4e48\uff1f")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u5e94\u8be5\u5982\u4f55\u907f\u514d\u89e6\u53d1\u6d41\u63a7\uff0c\u4ee5\u53ca\u5982\u4f55\u5e94\u5bf9\u7a81\u53d1\u6d41\u63a7\uff1f"))),(0,n.yg)("h2",{id:"\u6d88\u606f\u53d1\u9001\u91cd\u8bd5\u673a\u5236"},"\u6d88\u606f\u53d1\u9001\u91cd\u8bd5\u673a\u5236"),(0,n.yg)("h3",{id:"\u91cd\u8bd5\u57fa\u672c\u6982\u5ff5"},"\u91cd\u8bd5\u57fa\u672c\u6982\u5ff5"),(0,n.yg)("p",null,"Apache RocketMQ \u5ba2\u6237\u7aef\u8fde\u63a5\u670d\u52a1\u7aef\u53d1\u8d77\u6d88\u606f\u53d1\u9001\u8bf7\u6c42\u65f6\uff0c\u53ef\u80fd\u4f1a\u56e0\u4e3a\u7f51\u7edc\u6545\u969c\u3001\u670d\u52a1\u5f02\u5e38\u7b49\u539f\u56e0\u5bfc\u81f4\u8c03\u7528\u5931\u8d25\u3002\u4e3a\u4fdd\u8bc1\u6d88\u606f\u7684\u53ef\u9760\u6027\uff0c Apache RocketMQ \u5728\u5ba2\u6237\u7aefSDK\u4e2d\u5185\u7f6e\u8bf7\u6c42\u91cd\u8bd5\u903b\u8f91\uff0c\u5c1d\u8bd5\u901a\u8fc7\u91cd\u8bd5\u53d1\u9001\u8fbe\u5230\u6700\u7ec8\u8c03\u7528\u6210\u529f\u7684\u6548\u679c\u3002"),(0,n.yg)("p",null,"\u540c\u6b65\u53d1\u9001\u548c\u5f02\u6b65\u53d1\u9001\u6a21\u5f0f\u5747\u652f\u6301\u6d88\u606f\u53d1\u9001\u91cd\u8bd5\u3002"),(0,n.yg)("p",null,(0,n.yg)("strong",{parentName:"p"},"\u91cd\u8bd5\u89e6\u53d1\u6761\u4ef6")),(0,n.yg)("p",null,"\u89e6\u53d1\u6d88\u606f\u53d1\u9001\u91cd\u8bd5\u673a\u5236\u7684\u6761\u4ef6\u5982\u4e0b\uff1a"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u5ba2\u6237\u7aef\u6d88\u606f\u53d1\u9001\u8bf7\u6c42\u8c03\u7528\u5931\u8d25\u6216\u8bf7\u6c42\u8d85\u65f6")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u7f51\u7edc\u5f02\u5e38\u9020\u6210\u8fde\u63a5\u5931\u8d25\u6216\u8bf7\u6c42\u8d85\u65f6\u3002")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u670d\u52a1\u7aef\u8282\u70b9\u5904\u4e8e\u91cd\u542f\u6216\u4e0b\u7ebf\u7b49\u72b6\u6001\u9020\u6210\u8fde\u63a5\u5931\u8d25\u3002")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u670d\u52a1\u7aef\u8fd0\u884c\u6162\u9020\u6210\u8bf7\u6c42\u8d85\u65f6\u3002")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u670d\u52a1\u7aef\u8fd4\u56de\u5931\u8d25\u9519\u8bef\u7801"),(0,n.yg)("ul",{parentName:"li"},(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u7cfb\u7edf\u903b\u8f91\u9519\u8bef\uff1a\u56e0\u8fd0\u884c\u903b\u8f91\u4e0d\u6b63\u786e\u9020\u6210\u7684\u9519\u8bef\u3002")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u7cfb\u7edf\u6d41\u63a7\u9519\u8bef\uff1a\u56e0\u5bb9\u91cf\u8d85\u9650\u9020\u6210\u7684\u6d41\u63a7\u9519\u8bef\u3002"))))),(0,n.yg)("admonition",{type:"note"},(0,n.yg)("p",{parentName:"admonition"},"\u5bf9\u4e8e\u4e8b\u52a1\u6d88\u606f\uff0c\u53ea\u4f1a\u8fdb\u884c",(0,n.yg)("a",{parentName:"p",href:"https://github.com/grpc/proposal/blob/master/A6-client-retries.md#transparent-retries"},"\u900f\u660e\u91cd\u8bd5\uff08transparent retries\uff09"),"\uff0c\u7f51\u7edc\u8d85\u65f6\u6216\u5f02\u5e38\u7b49\u573a\u666f\u4e0d\u4f1a\u8fdb\u884c\u91cd\u8bd5\u3002")),(0,n.yg)("h3",{id:"\u91cd\u8bd5\u6d41\u7a0b"},"\u91cd\u8bd5\u6d41\u7a0b"),(0,n.yg)("p",null,"\u751f\u4ea7\u8005\u5728\u521d\u59cb\u5316\u65f6\u8bbe\u7f6e\u6d88\u606f\u53d1\u9001\u6700\u5927\u91cd\u8bd5\u6b21\u6570\uff0c\u5f53\u51fa\u73b0\u4e0a\u8ff0\u89e6\u53d1\u6761\u4ef6\u7684\u573a\u666f\u65f6\uff0c\u751f\u4ea7\u8005\u5ba2\u6237\u7aef\u4f1a\u6309\u7167\u8bbe\u7f6e\u7684\u91cd\u8bd5\u6b21\u6570\u4e00\u76f4\u91cd\u8bd5\u53d1\u9001\u6d88\u606f\uff0c\u76f4\u5230\u6d88\u606f\u53d1\u9001\u6210\u529f\u6216\u8fbe\u5230\u6700\u5927\u91cd\u8bd5\u6b21\u6570\u91cd\u8bd5\u7ed3\u675f\uff0c\u5e76\u5728\u6700\u540e\u4e00\u6b21\u91cd\u8bd5\u5931\u8d25\u540e\u8fd4\u56de\u8c03\u7528\u9519\u8bef\u54cd\u5e94\u3002"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u540c\u6b65\u53d1\u9001\uff1a\u8c03\u7528\u7ebf\u7a0b\u4f1a\u4e00\u76f4\u963b\u585e\uff0c\u76f4\u5230\u67d0\u6b21\u91cd\u8bd5\u6210\u529f\u6216\u6700\u7ec8\u91cd\u8bd5\u5931\u8d25\uff0c\u629b\u51fa\u9519\u8bef\u7801\u548c\u5f02\u5e38\u3002")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u5f02\u6b65\u53d1\u9001\uff1a\u8c03\u7528\u7ebf\u7a0b\u4e0d\u4f1a\u963b\u585e\uff0c\u4f46\u8c03\u7528\u7ed3\u679c\u4f1a\u901a\u8fc7\u5f02\u5e38\u4e8b\u4ef6\u6216\u8005\u6210\u529f\u4e8b\u4ef6\u8fd4\u56de\u3002"))),(0,n.yg)("h3",{id:"\u91cd\u8bd5\u95f4\u9694"},"\u91cd\u8bd5\u95f4\u9694"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u9664\u670d\u52a1\u7aef\u8fd4\u56de\u7cfb\u7edf\u6d41\u63a7\u9519\u8bef\u573a\u666f\uff0c\u5176\u4ed6\u89e6\u53d1\u6761\u4ef6\u89e6\u53d1\u91cd\u8bd5\u540e\uff0c\u5747\u4f1a\u7acb\u5373\u8fdb\u884c\u91cd\u8bd5\uff0c\u65e0\u7b49\u5f85\u95f4\u9694\u3002")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u82e5\u7531\u4e8e\u670d\u52a1\u7aef\u8fd4\u56de\u6d41\u63a7\u9519\u8bef\u89e6\u53d1\u91cd\u8bd5\uff0c\u7cfb\u7edf\u4f1a\u6309\u7167\u6307\u6570\u9000\u907f\u7b56\u7565\u8fdb\u884c\u5ef6\u8fdf\u91cd\u8bd5\u3002\u6307\u6570\u9000\u907f\u7b97\u6cd5\u901a\u8fc7\u4ee5\u4e0b\u53c2\u6570\u63a7\u5236\u91cd\u8bd5\u884c\u4e3a\uff1a"),(0,n.yg)("ul",{parentName:"li"},(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"INITIAL_BACKOFF\uff1a \u7b2c\u4e00\u6b21\u5931\u8d25\u91cd\u8bd5\u524d\u540e\u9700\u7b49\u5f85\u591a\u4e45\uff0c\u9ed8\u8ba4\u503c\uff1a1\u79d2\u3002")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"MULTIPLIER \uff1a\u6307\u6570\u9000\u907f\u56e0\u5b50\uff0c\u5373\u9000\u907f\u500d\u7387\uff0c\u9ed8\u8ba4\u503c\uff1a1.6\u3002")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"JITTER \uff1a\u968f\u673a\u6296\u52a8\u56e0\u5b50\uff0c\u9ed8\u8ba4\u503c\uff1a0.2\u3002")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"MAX_BACKOFF \uff1a\u7b49\u5f85\u95f4\u9694\u65f6\u95f4\u4e0a\u9650\uff0c\u9ed8\u8ba4\u503c\uff1a120\u79d2")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"MIN_CONNECT_TIMEOUT \uff1a\u6700\u77ed\u91cd\u8bd5\u95f4\u9694\uff0c\u9ed8\u8ba4\u503c\uff1a20\u79d2\u3002"))))),(0,n.yg)("p",null,(0,n.yg)("strong",{parentName:"p"},"\u5efa\u8bae\u7b97\u6cd5\u5982\u4e0b\uff1a")),(0,n.yg)("pre",null,(0,n.yg)("code",{parentName:"pre",className:"language-unknow"},"ConnectWithBackoff()\n current_backoff = INITIAL_BACKOFF\n current_deadline = now() + INITIAL_BACKOFF\n while (TryConnect(Max(current_deadline, now() + MIN_CONNECT_TIMEOUT))!= SUCCESS)\n SleepUntil(current_deadline)\n current_backoff = Min(current_backoff * MULTIPLIER, MAX_BACKOFF)\n current_deadline = now() + current_backoff + UniformRandom(-JITTER * current_backoff, JITTER * current_backoff)\n")),(0,n.yg)("p",null," \u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u53c2\u89c1",(0,n.yg)("a",{parentName:"p",href:"https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md"},"connection-backoff \u7b56\u7565"),"\u3002"),(0,n.yg)("h3",{id:"\u529f\u80fd\u7ea6\u675f"},"\u529f\u80fd\u7ea6\u675f"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u94fe\u8def\u8017\u65f6\u963b\u585e\u8bc4\u4f30\uff1a\u4ece\u4e0a\u8ff0\u91cd\u8bd5\u673a\u5236\u53ef\u4ee5\u770b\u51fa\uff0c\u5728\u91cd\u8bd5\u6d41\u7a0b\u4e2d\u751f\u4ea7\u8005\u4ec5\u80fd\u63a7\u5236\u6700\u5927\u91cd\u8bd5\u6b21\u6570\u3002\u82e5\u7531\u4e8e\u7cfb\u7edf\u5f02\u5e38\u89e6\u53d1\u4e86SDK\u5185\u7f6e\u7684\u91cd\u8bd5\u903b\u8f91\uff0c\u5219\u670d\u52a1\u7aef\u9700\u8981\u7b49\u5f85\u6700\u7ec8\u91cd\u8bd5\u7ed3\u679c\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u6d88\u606f\u53d1\u9001\u8bf7\u6c42\u94fe\u8def\u88ab\u963b\u585e\u3002\u5bf9\u4e8e\u67d0\u4e9b\u5b9e\u65f6\u8c03\u7528\u7c7b\u573a\u666f\uff0c\u60a8\u9700\u8981\u5408\u7406\u8bc4\u4f30\u6bcf\u6b21\u8c03\u7528\u8bf7\u6c42\u7684\u8d85\u65f6\u65f6\u95f4\u4ee5\u53ca\u6700\u5927\u91cd\u8bd5\u6b21\u6570\uff0c\u907f\u514d\u5f71\u54cd\u5168\u94fe\u8def\u7684\u8017\u65f6\u3002")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u6700\u7ec8\u5f02\u5e38\u515c\u5e95\uff1a Apache RocketMQ \u5ba2\u6237\u7aef\u5185\u7f6e\u7684\u53d1\u9001\u8bf7\u6c42\u91cd\u8bd5\u673a\u5236\u5e76\u4e0d\u80fd\u4fdd\u8bc1\u6d88\u606f\u53d1\u9001\u4e00\u5b9a\u6210\u529f\u3002\u5f53\u6700\u7ec8\u91cd\u8bd5\u4ecd\u7136\u5931\u8d25\u65f6\uff0c\u4e1a\u52a1\u65b9\u8c03\u7528\u9700\u8981\u6355\u83b7\u5f02\u5e38\uff0c\u5e76\u505a\u597d\u5197\u4f59\u4fdd\u62a4\u5904\u7406\uff0c\u907f\u514d\u6d88\u606f\u53d1\u9001\u7ed3\u679c\u4e0d\u4e00\u81f4\u3002")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u6d88\u606f\u91cd\u590d\u95ee\u9898\uff1a\u56e0\u8fdc\u7a0b\u8c03\u7528\u7684\u4e0d\u786e\u5b9a\u6027\uff0c\u5f53Apache RocketMQ\u5ba2\u6237\u7aef\u56e0\u8bf7\u6c42\u8d85\u65f6\u89e6\u53d1\u6d88\u606f\u53d1\u9001\u91cd\u8bd5\u6d41\u7a0b\uff0c\u6b64\u65f6\u5ba2\u6237\u7aef\u65e0\u6cd5\u611f\u77e5\u670d\u52a1\u7aef\u7684\u5904\u7406\u7ed3\u679c\uff0c\u5ba2\u6237\u7aef\u8fdb\u884c\u7684\u6d88\u606f\u53d1\u9001\u91cd\u8bd5\u53ef\u80fd\u4f1a\u4ea7\u751f\u6d88\u606f\u91cd\u590d\u95ee\u9898\uff0c\u4e1a\u52a1\u903b\u8f91\u9700\u8981\u81ea\u884c\u5904\u7406\u6d88\u606f\u91cd\u590d\u95ee\u9898\u3002"))),(0,n.yg)("h2",{id:"\u6d88\u606f\u6d41\u63a7\u673a\u5236"},"\u6d88\u606f\u6d41\u63a7\u673a\u5236"),(0,n.yg)("h3",{id:"\u6d88\u606f\u6d41\u63a7\u57fa\u672c\u6982\u5ff5"},"\u6d88\u606f\u6d41\u63a7\u57fa\u672c\u6982\u5ff5"),(0,n.yg)("p",null,"\u6d88\u606f\u6d41\u63a7\u6307\u7684\u662f\u7cfb\u7edf\u5bb9\u91cf\u6216\u6c34\u4f4d\u8fc7\u9ad8\uff0c Apache RocketMQ \u670d\u52a1\u7aef\u4f1a\u901a\u8fc7\u5feb\u901f\u5931\u8d25\u8fd4\u56de\u6d41\u63a7\u9519\u8bef\u6765\u907f\u514d\u5e95\u5c42\u8d44\u6e90\u627f\u53d7\u8fc7\u9ad8\u538b\u529b\u3002"),(0,n.yg)("h3",{id:"\u89e6\u53d1\u6761\u4ef6"},"\u89e6\u53d1\u6761\u4ef6"),(0,n.yg)("p",null,"Apache RocketMQ \u7684\u6d88\u606f\u6d41\u63a7\u89e6\u53d1\u6761\u4ef6\u5982\u4e0b\uff1a"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u5b58\u50a8\u538b\u529b\u5927\uff1a\u53c2\u8003",(0,n.yg)("a",{parentName:"p",href:"/zh/docs/featureBehavior/09consumerprogress"},"\u6d88\u8d39\u8fdb\u5ea6\u7ba1\u7406"),"\u7684\u539f\u7406\u673a\u5236\uff0c\u6d88\u8d39\u8005\u5206\u7ec4\u7684\u521d\u59cb\u6d88\u8d39\u4f4d\u70b9\u4e3a\u5f53\u524d\u961f\u5217\u7684\u6700\u5927\u6d88\u8d39\u4f4d\u70b9\u3002\u82e5\u67d0\u4e9b\u573a\u666f\u4f8b\u5982\u4e1a\u52a1\u4e0a\u65b0\u7b49\u9700\u8981\u56de\u6eaf\u5230\u6307\u5b9a\u65f6\u523b\u524d\u5f00\u59cb\u6d88\u8d39\uff0c\u6b64\u65f6\u961f\u5217\u7684\u5b58\u50a8\u538b\u529b\u4f1a\u77ac\u95f4\u98d9\u5347\uff0c\u89e6\u53d1\u6d88\u606f\u6d41\u63a7\u3002")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u670d\u52a1\u7aef\u8bf7\u6c42\u4efb\u52a1\u6392\u961f\u6ea2\u51fa\uff1a\u82e5\u6d88\u8d39\u8005\u6d88\u8d39\u80fd\u529b\u4e0d\u8db3\uff0c\u5bfc\u81f4\u961f\u5217\u4e2d\u6709\u5927\u91cf\u5806\u79ef\u6d88\u606f\uff0c\u5f53\u5806\u79ef\u6d88\u606f\u8d85\u8fc7\u4e00\u5b9a\u6570\u91cf\u540e\u4f1a\u89e6\u53d1\u6d88\u606f\u6d41\u63a7\uff0c\u51cf\u5c11\u4e0b\u6e38\u6d88\u8d39\u7cfb\u7edf\u538b\u529b\u3002"))),(0,n.yg)("h3",{id:"\u6d41\u63a7\u884c\u4e3a"},"\u6d41\u63a7\u884c\u4e3a"),(0,n.yg)("p",null,"\u5f53\u7cfb\u7edf\u89e6\u53d1\u6d88\u606f\u53d1\u9001\u6d41\u63a7\u65f6\uff0c\u5ba2\u6237\u7aef\u4f1a\u6536\u5230\u7cfb\u7edf\u9650\u6d41\u9519\u8bef\u548c\u5f02\u5e38\uff0c\u9519\u8bef\u7801\u4fe1\u606f\u5982\u4e0b\uff1a"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"reply-code\uff1a530")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"reply-text\uff1aTOO_MANY_REQUESTS"))),(0,n.yg)("p",null,"\u5ba2\u6237\u7aef\u6536\u5230\u7cfb\u7edf\u6d41\u63a7\u9519\u8bef\u7801\u540e\uff0c\u4f1a\u6839\u636e\u6307\u6570\u9000\u907f\u7b56\u7565\u8fdb\u884c\u6d88\u606f\u53d1\u9001\u91cd\u8bd5\u3002"),(0,n.yg)("h3",{id:"\u5904\u7406\u5efa\u8bae"},"\u5904\u7406\u5efa\u8bae"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u5982\u4f55\u907f\u514d\u89e6\u53d1\u6d88\u606f\u6d41\u63a7\uff1a\u89e6\u53d1\u9650\u6d41\u7684\u6839\u672c\u539f\u56e0\u662f\u7cfb\u7edf\u5bb9\u91cf\u6216\u6c34\u4f4d\u8fc7\u9ad8\uff0c\u60a8\u53ef\u4ee5\u5229\u7528\u53ef\u89c2\u6d4b\u6027\u529f\u80fd\u76d1\u63a7\u7cfb\u7edf\u6c34\u4f4d\u5bb9\u91cf\u7b49\uff0c\u4fdd\u8bc1\u5e95\u5c42\u8d44\u6e90\u5145\u8db3\uff0c\u907f\u514d\u89e6\u53d1\u6d41\u63a7\u673a\u5236\u3002")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("p",{parentName:"li"},"\u7a81\u53d1\u6d88\u606f\u6d41\u63a7\u5904\u7406\uff1a\u5982\u679c\u56e0\u4e3a\u7a81\u53d1\u539f\u56e0\u89e6\u53d1\u6d88\u606f\u6d41\u63a7\uff0c\u4e14\u5ba2\u6237\u7aef\u5185\u7f6e\u7684\u91cd\u8bd5\u6d41\u7a0b\u6267\u884c\u5931\u8d25\uff0c\u5219\u5efa\u8bae\u4e1a\u52a1\u65b9\u5c06\u8bf7\u6c42\u8c03\u7528\u4e34\u65f6\u66ff\u6362\u5230\u5176\u4ed6\u7cfb\u7edf\u8fdb\u884c\u5e94\u6025\u5904\u7406\u3002"))))}c.isMDXComponent=!0}}]);