{"id":7635,"date":"2022-04-22T14:18:03","date_gmt":"2022-04-22T21:18:03","guid":{"rendered":"https:\/\/www.xh86.me\/?p=7635"},"modified":"2022-04-22T14:18:03","modified_gmt":"2022-04-22T21:18:03","slug":"%e8%ad%a6%e6%83%95%ef%bc%81%e8%bf%99-8-%e4%b8%aa%e5%9c%ba%e6%99%af%e4%b8%8b-rocketmq-%e4%bc%9a%e5%8f%91%e7%94%9f%e6%b5%81%e9%87%8f%e6%8e%a7%e5%88%b6","status":"publish","type":"post","link":"https:\/\/www.xh86.me\/?p=7635","title":{"rendered":"\u8b66\u60d5\uff01\u8fd9 8 \u4e2a\u573a\u666f\u4e0b RocketMQ \u4f1a\u53d1\u751f\u6d41\u91cf\u63a7\u5236"},"content":{"rendered":"<div class=\"wxsyncmain\">\n<section style=\"font-size: 16px; color: black; padding-right: 10px; padding-left: 10px; line-height: 1.6; letter-spacing: 0px; word-break: break-word; overflow-wrap: break-word; text-align: left; font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\" data-mpa-powered-by=\"yiban.io\">\n<section><\/section>\n<section style=\"font-size: 16px; padding-right: 10px; padding-left: 10px; line-height: 1.6; letter-spacing: 0px; word-break: break-word; overflow-wrap: break-word; text-align: left; font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\">\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2; margin-top: 16px;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u5728\u4f7f\u7528 RocketMQ \u7684\u8fc7\u7a0b\u4e2d\uff0c\u6709\u65f6\u5019\u6211\u4eec\u4f1a\u770b\u5230\u4e0b\u9762\u7684\u65e5\u5fd7\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; border-radius: 5px; box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"overflow-x: auto; padding: 16px; color: #dcdcdc; display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; font-size: 12px; -webkit-overflow-scrolling: touch; padding-top: 15px; background: #1E1E1E; border-radius: 5px;\">[TIMEOUT_CLEAN_QUEUE]broker\u00a0busy,\u00a0start\u00a0flow\u00a0control\u00a0<span style=\"color: #569cd6; line-height: 26px;\">for<\/span>\u00a0a\u00a0<span style=\"color: #569cd6; line-height: 26px;\">while<\/span>,\u00a0period\u00a0<span style=\"color: #569cd6; line-height: 26px;\">in<\/span>\u00a0queue:\u00a0206ms,\u00a0size\u00a0of\u00a0queue:\u00a05\r\n<\/code><\/pre>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u8fd9\u662f\u56e0\u4e3a RocketMQ \u89e6\u53d1\u4e86\u6d41\u91cf\u63a7\u5236\u3002\u4eca\u5929\u6211\u4eec\u6765\u804a\u4e00\u804a\u54ea\u4e9b\u573a\u666f\u4e0b RocketMQ \u4f1a\u89e6\u53d1\u6d41\u91cf\u63a7\u5236\u3002<\/p>\n<figure style=\"margin-top: 10px; margin-bottom: 10px; display: flex; flex-direction: column; justify-content: center; align-items: center;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2022\/04\/wxsync-2022-04-5e92a79c9540b38bbf62d9ff3348b499.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" class=\"rich_pages wxw-img\" style=\"display: block; margin-right: auto; margin-left: auto;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2022\/04\/wxsync-2022-04-5e92a79c9540b38bbf62d9ff3348b499.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.22437673130193905\" data-type=\"png\" data-w=\"361\" \/><\/div><\/figure>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u5982\u4e0a\u56fe\uff0c\u751f\u4ea7\u8005\u628a\u6d88\u606f\u5199\u5165 Broker\uff0cConsumer \u4ece Broker \u62c9\u53d6\u6d88\u606f\u3002Broker \u662f RocketMQ \u7684\u6838\u5fc3 \uff0c\u89e6\u53d1\u6d41\u91cf\u63a7\u5236\u4e3b\u8981\u5c31\u662f\u4e3a\u4e86\u9632\u6b62 Broker \u538b\u529b\u8fc7\u5927\u800c\u5b95\u673a\u3002<\/p>\n<h2 style=\"font-weight: bold; padding-top: 30px; padding-bottom: 30px; color: #135ce0; font-size: 20px;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><span style=\"border-left: 4px solid; padding-left: 10px;\">1 Broker \u6d41\u63a7<\/span><\/h2>\n<h3 style=\"font-weight: bold; padding-top: 30px; padding-bottom: 30px; color: #135ce0;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">1.1 broker busy<\/h3>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">RockerMQ \u9ed8\u8ba4\u91c7\u7528\u5f02\u6b65\u5237\u76d8\u7b56\u7565\uff0cProducer \u628a\u6d88\u606f\u53d1\u9001\u5230 Broker \u540e\uff0cBroker \u4f1a\u5148\u628a\u6d88\u606f\u5199\u5165 Page Cache\uff0c\u5237\u76d8\u7ebf\u7a0b\u5b9a\u65f6\u5730\u628a\u6570\u636e\u4ece Page Cache \u5237\u5230\u78c1\u76d8\u4e0a\uff0c\u5982\u4e0b\u56fe\uff1a<\/p>\n<figure style=\"margin-top: 10px; margin-bottom: 10px; display: flex; flex-direction: column; justify-content: center; align-items: center;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2022\/04\/wxsync-2022-04-5bcde37757c5eeeb403623cabca60bd8.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" class=\"rich_pages wxw-img\" style=\"display: block; margin-right: auto; margin-left: auto;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2022\/04\/wxsync-2022-04-5bcde37757c5eeeb403623cabca60bd8.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.5233415233415234\" data-type=\"png\" data-w=\"407\" \/><\/div><\/figure>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u90a3 broker busy \u662f\u600e\u4e48\u5bfc\u81f4\u7684\u5462\uff1f<\/p>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2; margin-top: 16px;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">Broker \u9ed8\u8ba4\u662f\u5f00\u542f\u5feb\u901f\u5931\u8d25\u7684\uff0c\u5904\u7406\u903b\u8f91\u7c7b\u662f BrokerFastFailure\uff0c\u8fd9\u4e2a\u7c7b\u4e2d\u6709\u4e00\u4e2a\u5b9a\u65f6\u4efb\u52a1\u7528\u6765\u6e05\u7406\u8fc7\u671f\u7684\u8bf7\u6c42\uff0c\u6bcf 10 ms \u6267\u884c\u4e00\u6b21\uff0c\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; border-radius: 5px; box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"overflow-x: auto; padding: 16px; color: #dcdcdc; display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; font-size: 12px; -webkit-overflow-scrolling: touch; padding-top: 15px; background: #1E1E1E; border-radius: 5px;\"><span style=\"line-height: 26px;\"><span style=\"color: #569cd6; line-height: 26px;\">public<\/span>\u00a0<span style=\"color: #569cd6; line-height: 26px;\">void<\/span>\u00a0<span style=\"line-height: 26px;\">start<\/span><span style=\"line-height: 26px;\">()<\/span>\u00a0<\/span>{\r\n\u00a0\u00a0\u00a0\u00a0<span style=\"color: #569cd6; line-height: 26px;\">this<\/span>.scheduledExecutorService.scheduleAtFixedRate(<span style=\"color: #569cd6; line-height: 26px;\">new<\/span>\u00a0Runnable()\u00a0{\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #9b9b9b; line-height: 26px;\">@Override<\/span>\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"line-height: 26px;\"><span style=\"color: #569cd6; line-height: 26px;\">public<\/span>\u00a0<span style=\"color: #569cd6; line-height: 26px;\">void<\/span>\u00a0<span style=\"line-height: 26px;\">run<\/span><span style=\"line-height: 26px;\">()<\/span>\u00a0<\/span>{\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #569cd6; line-height: 26px;\">if<\/span>\u00a0(brokerController.getBrokerConfig().isBrokerFastFailureEnable())\u00a0{\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0cleanExpiredRequest();\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\r\n\u00a0\u00a0\u00a0\u00a0},\u00a0<span style=\"color: #b8d7a3; line-height: 26px;\">1000<\/span>,\u00a0<span style=\"color: #b8d7a3; line-height: 26px;\">10<\/span>,\u00a0TimeUnit.MILLISECONDS);\r\n}\r\n<\/code><\/pre>\n<ol class=\"list-paddingleft-1\" style=\"margin-top: 8px; margin-bottom: 8px; padding-left: 25px; color: black;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\n<li>\n<section style=\"margin-top: 5px; margin-bottom: 5px; color: #010101; line-height: 2;\">Page Cache \u7e41\u5fd9<\/section>\n<\/li>\n<\/ol>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u6e05\u7406\u8fc7\u671f\u8bf7\u6c42\u4e4b\u524d\u9996\u5148\u4f1a\u5224\u65ad Page Cache \u662f\u5426\u7e41\u5fd9\uff0c\u5982\u679c\u7e41\u5fd9\uff0c\u5c31\u4f1a\u7ed9 Producer \u8fd4\u56de\u4e00\u4e2a\u7cfb\u7edf\u7e41\u5fd9\u7684\u72b6\u6001\u7801<span style=\"color: #0080ff;\"><strong>\uff08code=2\uff0cremark=&#8221;[PCBUSY_CLEAN_QUEUE]broker busy, start flow control for a while, period in queue: %sms, size of queue: %d&#8221;\uff09<\/strong><\/span>\uff0c\u4e5f\u5c31\u662f\u672c\u6587\u5f00\u5934\u7684\u5f02\u5e38\u65e5\u5fd7\u3002\u90a3\u600e\u4e48\u5224\u65ad Page Cache \u7e41\u5fd9\u5462\uff1fBroker \u6536\u5230\u4e00\u6761\u6d88\u606f\u540e\u4f1a\u8ffd\u52a0\u5230 Page Cache \u6216\u8005\u5185\u5b58\u6620\u5c04\u6587\u4ef6\uff0c\u8fd9\u4e2a\u8fc7\u7a0b\u9996\u5148\u83b7\u53d6\u4e00\u4e2a CommitLog \u5199\u5165\u9501\uff0c\u5982\u679c\u6301\u6709\u9501\u7684\u65f6\u95f4\u5927\u4e8e osPageCacheBusyTimeOutMills\uff08\u9ed8\u8ba4 1s\uff0c\u53ef\u4ee5\u914d\u7f6e\uff09\uff0c\u5c31\u8ba4\u4e3a Page Cache \u7e41\u5fd9\u3002\u5177\u4f53\u4ee3\u7801\u89c1 DefaultMessageStore \u7c7b isOSPageCacheBusy \u65b9\u6cd5\u3002<\/p>\n<ol class=\"list-paddingleft-1\" style=\"margin-top: 8px; margin-bottom: 8px; padding-left: 25px; color: black;\" start=\"2\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\n<li>\n<section style=\"margin-top: 5px; margin-bottom: 5px; color: #010101; line-height: 2;\">\u6e05\u7406\u8fc7\u671f\u8bf7\u6c42<\/section>\n<\/li>\n<\/ol>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u6e05\u7406\u8fc7\u671f\u8bf7\u6c42\u65f6\uff0c\u5982\u679c\u8bf7\u6c42\u7ebf\u7a0b\u7684\u521b\u5efa\u65f6\u95f4\u5230\u5f53\u524d\u7cfb\u7edf\u65f6\u95f4\u95f4\u9694\u5927\u4e8e waitTimeMillsInSendQueue\uff08\u9ed8\u8ba4 200ms\uff0c\u53ef\u4ee5\u914d\u7f6e\uff09\u5c31\u4f1a\u6e05\u7406\u8fd9\u4e2a\u8bf7\u6c42\uff0c\u7136\u540e\u7ed9 Producer \u8fd4\u56de\u4e00\u4e2a\u7cfb\u7edf\u7e41\u5fd9\u7684\u72b6\u6001\u7801<span style=\"color: #0080ff;\"><strong>\uff08code=2\uff0cremark=&#8221;[TIMEOUT_CLEAN_QUEUE]broker busy, start flow control for a while, period in queue: %sms, size of queue: %d&#8221;\uff09<\/strong><\/span><\/p>\n<h3 style=\"font-weight: bold; padding-top: 30px; padding-bottom: 30px; color: #135ce0;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">1.2 system busy<\/h3>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u8fd9\u4e2a\u5f02\u5e38\u5728 NettyRemotingAbstract#processRequestCommand \u65b9\u6cd5\uff0c<\/p>\n<ol class=\"list-paddingleft-1\" style=\"margin-top: 8px; margin-bottom: 8px; padding-left: 25px; color: black;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\n<li>\n<section style=\"margin-top: 5px; margin-bottom: 5px; color: #010101; line-height: 2;\">\u62d2\u7edd\u8bf7\u6c42<\/section>\n<\/li>\n<\/ol>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u5982\u679c NettyRequestProcessor \u62d2\u7edd\u4e86\u8bf7\u6c42\uff0c\u5c31\u4f1a\u7ed9 Producer \u8fd4\u56de\u4e00\u4e2a\u7cfb\u7edf\u7e41\u5fd9\u7684\u72b6\u6001\u7801<span style=\"color: #0080ff;\"><strong>\uff08code=2\uff0cremark=&#8221;[REJECTREQUEST]system busy, start flow control for a while&#8221;\uff09<\/strong><\/span>\u3002\u90a3\u4ec0\u4e48\u60c5\u51b5\u4e0b\u8bf7\u6c42\u4f1a\u88ab\u62d2\u7edd\u5462\uff1f\u770b\u4e0b\u9762\u8fd9\u6bb5\u4ee3\u7801\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; border-radius: 5px; box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"overflow-x: auto; padding: 16px; color: #dcdcdc; display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; font-size: 12px; -webkit-overflow-scrolling: touch; padding-top: 15px; background: #1E1E1E; border-radius: 5px;\"><span style=\"color: #57a64a; font-style: italic; line-height: 26px;\">\/\/SendMessageProcessor\u7c7b<\/span>\r\n<span style=\"line-height: 26px;\"><span style=\"color: #569cd6; line-height: 26px;\">public<\/span>\u00a0<span style=\"color: #569cd6; line-height: 26px;\">boolean<\/span>\u00a0<span style=\"line-height: 26px;\">rejectRequest<\/span><span style=\"line-height: 26px;\">()<\/span>\u00a0<\/span>{\r\n\u00a0\u00a0\u00a0\u00a0<span style=\"color: #569cd6; line-height: 26px;\">return<\/span>\u00a0<span style=\"color: #569cd6; line-height: 26px;\">this<\/span>.brokerController.getMessageStore().isOSPageCacheBusy()\u00a0||\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #569cd6; line-height: 26px;\">this<\/span>.brokerController.getMessageStore().isTransientStorePoolDeficient();\r\n}\r\n<\/code><\/pre>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u4ece\u4ee3\u7801\u4e2d\u53ef\u4ee5\u770b\u5230\uff0c\u8bf7\u6c42\u88ab\u62d2\u7edd\u7684\u60c5\u51b5\u6709\u4e24\u79cd\u53ef\u80fd\uff0c\u4e00\u4e2a\u662f Page Cache \u7e41\u5fd9\uff0c\u53e6\u4e00\u4e2a\u662f TransientStorePoolDeficient\u3002<\/p>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2; margin-top: 16px;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u8ddf\u8e2a isTransientStorePoolDeficient \u65b9\u6cd5\uff0c\u53d1\u73b0\u5224\u65ad\u4f9d\u636e\u662f\u5728\u5f00\u542f transientStorePoolEnable \u914d\u7f6e\u7684\u60c5\u51b5\u4e0b\uff0c\u662f\u5426\u8fd8\u6709\u53ef\u7528\u7684 ByteBuffer\u3002<\/p>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2; margin-top: 16px;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><span style=\"color: #0080ff;\"><strong>\u6ce8\u610f\uff1a\u5728\u5f00\u542f transientStorePoolEnable \u7684\u60c5\u51b5\u4e0b\uff0c\u5199\u5165\u6d88\u606f\u65f6\u4f1a\u5148\u5199\u5165\u5806\u5916\u5185\u5b58\uff08DirectByteBuffer\uff09\uff0c\u7136\u540e\u5237\u5165 Page Cache\uff0c\u6700\u540e\u5237\u5165\u78c1\u76d8\u3002\u800c\u8bfb\u53d6\u6d88\u606f\u662f\u4ece Page Cache\uff0c\u8fd9\u6837\u53ef\u4ee5\u5b9e\u73b0\u8bfb\u5199\u5206\u79bb\uff0c\u907f\u514d\u8bfb\u5199\u90fd\u5728 Page Cache \u5e26\u6765\u7684\u95ee\u9898<\/strong><\/span>\u3002\u5982\u4e0b\u56fe\uff1a<\/p>\n<figure style=\"margin-top: 10px; margin-bottom: 10px; display: flex; flex-direction: column; justify-content: center; align-items: center;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2022\/04\/wxsync-2022-04-82939bb0505b4e3882ddd5dc3060005c.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" class=\"rich_pages wxw-img\" style=\"display: block; margin-right: auto; margin-left: auto;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2022\/04\/wxsync-2022-04-82939bb0505b4e3882ddd5dc3060005c.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.8427518427518428\" data-type=\"png\" data-w=\"407\" \/><\/div><\/figure>\n<ol class=\"list-paddingleft-1\" style=\"margin-top: 8px; margin-bottom: 8px; padding-left: 25px; color: black;\" start=\"2\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\n<li>\n<section style=\"margin-top: 5px; margin-bottom: 5px; color: #010101; line-height: 2;\">\u7ebf\u7a0b\u6c60\u62d2\u7edd<\/section>\n<\/li>\n<\/ol>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">Broker \u6536\u5230\u8bf7\u6c42\u540e\uff0c\u4f1a\u628a\u5904\u7406\u903b\u8f91\u5c01\u88c5\u6210\u5230 Runnable \u4e2d\uff0c\u7531\u7ebf\u7a0b\u6c60\u6765\u63d0\u4ea4\u6267\u884c\uff0c\u5982\u679c\u7ebf\u7a0b\u6c60\u6ee1\u4e86\u5c31\u4f1a\u62d2\u7edd\u8bf7\u6c42\uff08\u8fd9\u91cc\u7ebf\u7a0b\u6c60\u4e2d\u961f\u5217\u7684\u5927\u5c0f\u9ed8\u8ba4\u662f 10000\uff0c\u53ef\u4ee5\u901a\u8fc7\u53c2\u6570 sendThreadPoolQueueCapacity \u8fdb\u884c\u914d\u7f6e\uff09\uff0c\u7ebf\u7a0b\u6c60\u62d2\u7edd\u540e\u4f1a\u629b\u51fa\u5f02\u5e38 RejectedExecutionException\uff0c\u7a0b\u5e8f\u6355\u83b7\u5230\u5f02\u5e38\u540e\uff0c\u4f1a\u5224\u65ad\u662f\u4e0d\u662f\u5355\u5411\u8bf7\u6c42\uff08OnewayRPC\uff09\uff0c\u5982\u679c\u4e0d\u662f\uff0c\u5c31\u4f1a\u7ed9 Producer \u8fd4\u56de\u4e00\u4e2a\u7cfb\u7edf\u7e41\u5fd9\u7684\u72b6\u6001\u7801<span style=\"color: #0080ff;\"><strong>\uff08code=2\uff0cremark=&#8221;[OVERLOAD]system busy, start flow control for a while&#8221;\uff09<\/strong><\/span><\/p>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2; margin-top: 16px;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u5224\u65ad OnewayRPC \u7684\u4ee3\u7801\u5982\u4e0b\uff0cflag = 2 \u6216\u8005 3 \u65f6\u662f\u5355\u5411\u8bf7\u6c42\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; border-radius: 5px; box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"overflow-x: auto; padding: 16px; color: #dcdcdc; display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; font-size: 12px; -webkit-overflow-scrolling: touch; padding-top: 15px; background: #1E1E1E; border-radius: 5px;\"><span style=\"line-height: 26px;\"><span style=\"color: #569cd6; line-height: 26px;\">public<\/span>\u00a0<span style=\"color: #569cd6; line-height: 26px;\">boolean<\/span>\u00a0<span style=\"line-height: 26px;\">isOnewayRPC<\/span><span style=\"line-height: 26px;\">()<\/span>\u00a0<\/span>{\r\n\u00a0\u00a0\u00a0\u00a0<span style=\"color: #569cd6; line-height: 26px;\">int<\/span>\u00a0bits\u00a0=\u00a0<span style=\"color: #b8d7a3; line-height: 26px;\">1<\/span>\u00a0&lt;&lt;\u00a0RPC_ONEWAY;\r\n\u00a0\u00a0\u00a0\u00a0<span style=\"color: #569cd6; line-height: 26px;\">return<\/span>\u00a0(<span style=\"color: #569cd6; line-height: 26px;\">this<\/span>.flag\u00a0&amp;\u00a0bits)\u00a0==\u00a0bits;\r\n}\r\n<\/code><\/pre>\n<h3 style=\"font-weight: bold; padding-top: 30px; padding-bottom: 30px; color: #135ce0;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">1.3 \u6d88\u606f\u91cd\u8bd5<\/h3>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">Broker \u53d1\u751f\u6d41\u91cf\u63a7\u5236\u7684\u60c5\u51b5\u4e0b\uff0c\u8fd4\u56de\u7ed9 Producer \u7cfb\u7edf\u7e41\u5fd9\u7684\u72b6\u6001\u7801\uff08code=2\uff09\uff0cProducer \u6536\u5230\u8fd9\u4e2a\u72b6\u6001\u7801\u662f\u4e0d\u4f1a\u8fdb\u884c\u91cd\u8bd5\u7684\u3002\u4e0b\u9762\u662f\u4f1a\u8fdb\u884c\u91cd\u8bd5\u7684\u54cd\u5e94\u7801\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; border-radius: 5px; box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"overflow-x: auto; padding: 16px; color: #dcdcdc; display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; font-size: 12px; -webkit-overflow-scrolling: touch; padding-top: 15px; background: #1E1E1E; border-radius: 5px;\"><span style=\"color: #57a64a; font-style: italic; line-height: 26px;\">\/\/DefaultMQProducer\u7c7b<\/span>\r\n<span style=\"color: #569cd6; line-height: 26px;\">private<\/span>\u00a0<span style=\"color: #569cd6; line-height: 26px;\">final<\/span>\u00a0Set&lt;Integer&gt;\u00a0retryResponseCodes\u00a0=\u00a0<span style=\"color: #569cd6; line-height: 26px;\">new<\/span>\u00a0CopyOnWriteArraySet&lt;Integer&gt;(Arrays.asList(\r\n\u00a0\u00a0\u00a0\u00a0ResponseCode.TOPIC_NOT_EXIST,\r\n\u00a0\u00a0\u00a0\u00a0ResponseCode.SERVICE_NOT_AVAILABLE,\r\n\u00a0\u00a0\u00a0\u00a0ResponseCode.SYSTEM_ERROR,\r\n\u00a0\u00a0\u00a0\u00a0ResponseCode.NO_PERMISSION,\r\n\u00a0\u00a0\u00a0\u00a0ResponseCode.NO_BUYER_ID,\r\n\u00a0\u00a0\u00a0\u00a0ResponseCode.NOT_IN_CURRENT_UNIT\r\n));\r\n<\/code><\/pre>\n<h2 style=\"font-weight: bold; padding-top: 30px; padding-bottom: 30px; color: #135ce0; font-size: 20px;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><span style=\"border-left: 4px solid; padding-left: 10px;\">2 Consumer \u6d41\u63a7<\/span><\/h2>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><span style=\"color: #000000; font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; font-size: 16px; text-align: left;\">DefaultMQPushConsumerImpl<\/span> \u7c7b\u4e2d\u6709 Consumer \u6d41\u63a7\u7684\u903b\u8f91\u00a0\u3002<\/p>\n<h3 style=\"font-weight: bold; padding-top: 30px; padding-bottom: 30px; color: #135ce0;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">2.1 \u7f13\u5b58\u6d88\u606f\u6570\u91cf\u8d85\u8fc7\u9608\u503c<\/h3>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">ProcessQueue \u4fdd\u5b58\u7684\u6d88\u606f\u6570\u91cf\u8d85\u8fc7\u9608\u503c\uff08\u9ed8\u8ba4 1000\uff0c\u53ef\u4ee5\u914d\u7f6e\uff09\uff0c\u6e90\u7801\u5982\u4e0b\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; border-radius: 5px; box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"overflow-x: auto; padding: 16px; color: #dcdcdc; display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; font-size: 12px; -webkit-overflow-scrolling: touch; padding-top: 15px; background: #1E1E1E; border-radius: 5px;\"><span style=\"color: #569cd6; line-height: 26px;\">if<\/span>\u00a0(cachedMessageCount\u00a0&gt;\u00a0<span style=\"color: #569cd6; line-height: 26px;\">this<\/span>.defaultMQPushConsumer.getPullThresholdForQueue())\u00a0{\r\n\u00a0\u00a0\u00a0\u00a0<span style=\"color: #569cd6; line-height: 26px;\">this<\/span>.executePullRequestLater(pullRequest,\u00a0PULL_TIME_DELAY_MILLS_WHEN_FLOW_CONTROL);\r\n\u00a0\u00a0\u00a0\u00a0<span style=\"color: #569cd6; line-height: 26px;\">if<\/span>\u00a0((queueFlowControlTimes++\u00a0%\u00a0<span style=\"color: #b8d7a3; line-height: 26px;\">1000<\/span>)\u00a0==\u00a0<span style=\"color: #b8d7a3; line-height: 26px;\">0<\/span>)\u00a0{\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0log.warn(\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #d69d85; line-height: 26px;\">\"the\u00a0cached\u00a0message\u00a0count\u00a0exceeds\u00a0the\u00a0threshold\u00a0{},\u00a0so\u00a0do\u00a0flow\u00a0control,\u00a0minOffset={},\u00a0maxOffset={},\u00a0count={},\u00a0size={}\u00a0MiB,\u00a0pullRequest={},\u00a0flowControlTimes={}\"<\/span>,\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #569cd6; line-height: 26px;\">this<\/span>.defaultMQPushConsumer.getPullThresholdForQueue(),\u00a0processQueue.getMsgTreeMap().firstKey(),\u00a0processQueue.getMsgTreeMap().lastKey(),\u00a0cachedMessageCount,\u00a0cachedMessageSizeInMiB,\u00a0pullRequest,\u00a0queueFlowControlTimes);\r\n\u00a0\u00a0\u00a0\u00a0}\r\n\u00a0\u00a0\u00a0\u00a0<span style=\"color: #569cd6; line-height: 26px;\">return<\/span>;\r\n}\r\n<\/code><\/pre>\n<h3 style=\"font-weight: bold; padding-top: 30px; padding-bottom: 30px; color: #135ce0;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">2.2 \u7f13\u5b58\u6d88\u606f\u5927\u5c0f\u8d85\u8fc7\u9608\u503c<\/h3>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">ProcessQueue \u4fdd\u5b58\u7684\u6d88\u606f\u5927\u5c0f\u8d85\u8fc7\u9608\u503c\uff08\u9ed8\u8ba4 100M\uff0c\u53ef\u4ee5\u914d\u7f6e\uff09\uff0c\u6e90\u7801\u5982\u4e0b\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; border-radius: 5px; box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"overflow-x: auto; padding: 16px; color: #dcdcdc; display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; font-size: 12px; -webkit-overflow-scrolling: touch; padding-top: 15px; background: #1E1E1E; border-radius: 5px;\"><span style=\"color: #569cd6; line-height: 26px;\">if<\/span>\u00a0(cachedMessageSizeInMiB\u00a0&gt;\u00a0<span style=\"color: #569cd6; line-height: 26px;\">this<\/span>.defaultMQPushConsumer.getPullThresholdSizeForQueue())\u00a0{\r\n\u00a0\u00a0\u00a0\u00a0<span style=\"color: #569cd6; line-height: 26px;\">this<\/span>.executePullRequestLater(pullRequest,\u00a0PULL_TIME_DELAY_MILLS_WHEN_FLOW_CONTROL);\r\n\u00a0\u00a0\u00a0\u00a0<span style=\"color: #569cd6; line-height: 26px;\">if<\/span>\u00a0((queueFlowControlTimes++\u00a0%\u00a0<span style=\"color: #b8d7a3; line-height: 26px;\">1000<\/span>)\u00a0==\u00a0<span style=\"color: #b8d7a3; line-height: 26px;\">0<\/span>)\u00a0{\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0log.warn(\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #d69d85; line-height: 26px;\">\"the\u00a0cached\u00a0message\u00a0size\u00a0exceeds\u00a0the\u00a0threshold\u00a0{}\u00a0MiB,\u00a0so\u00a0do\u00a0flow\u00a0control,\u00a0minOffset={},\u00a0maxOffset={},\u00a0count={},\u00a0size={}\u00a0MiB,\u00a0pullRequest={},\u00a0flowControlTimes={}\"<\/span>,\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #569cd6; line-height: 26px;\">this<\/span>.defaultMQPushConsumer.getPullThresholdSizeForQueue(),\u00a0processQueue.getMsgTreeMap().firstKey(),\u00a0processQueue.getMsgTreeMap().lastKey(),\u00a0cachedMessageCount,\u00a0cachedMessageSizeInMiB,\u00a0pullRequest,\u00a0queueFlowControlTimes);\r\n\u00a0\u00a0\u00a0\u00a0}\r\n\u00a0\u00a0\u00a0\u00a0<span style=\"color: #569cd6; line-height: 26px;\">return<\/span>;\r\n}\r\n<\/code><\/pre>\n<h3 style=\"font-weight: bold; padding-top: 30px; padding-bottom: 30px; color: #135ce0;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">2.3 \u7f13\u5b58\u6d88\u606f\u8de8\u5ea6\u8d85\u8fc7\u9608\u503c<\/h3>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u5bf9\u4e8e\u975e\u987a\u5e8f\u6d88\u8d39\u7684\u573a\u666f\uff0cProcessQueue \u4e2d\u4fdd\u5b58\u7684\u6700\u540e\u4e00\u6761\u548c\u7b2c\u4e00\u6761\u6d88\u606f\u504f\u79fb\u91cf\u4e4b\u5dee\u8d85\u8fc7\u9608\u503c\uff08\u9ed8\u8ba4 2000\uff0c\u53ef\u4ee5\u914d\u7f6e\uff09\u3002\u6e90\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; border-radius: 5px; box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"overflow-x: auto; padding: 16px; color: #dcdcdc; display: -webkit-box; font-family: Operator Mono, Consolas, Monaco, Menlo, monospace; font-size: 12px; -webkit-overflow-scrolling: touch; padding-top: 15px; background: #1E1E1E; border-radius: 5px;\"><span style=\"color: #569cd6; line-height: 26px;\">if<\/span>\u00a0(!<span style=\"color: #569cd6; line-height: 26px;\">this<\/span>.consumeOrderly)\u00a0{\r\n\u00a0\u00a0\u00a0\u00a0<span style=\"color: #569cd6; line-height: 26px;\">if<\/span>\u00a0(processQueue.getMaxSpan()\u00a0&gt;\u00a0<span style=\"color: #569cd6; line-height: 26px;\">this<\/span>.defaultMQPushConsumer.getConsumeConcurrentlyMaxSpan())\u00a0{\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #569cd6; line-height: 26px;\">this<\/span>.executePullRequestLater(pullRequest,\u00a0PULL_TIME_DELAY_MILLS_WHEN_FLOW_CONTROL);\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #569cd6; line-height: 26px;\">if<\/span>\u00a0((queueMaxSpanFlowControlTimes++\u00a0%\u00a0<span style=\"color: #b8d7a3; line-height: 26px;\">1000<\/span>)\u00a0==\u00a0<span style=\"color: #b8d7a3; line-height: 26px;\">0<\/span>)\u00a0{\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0log.warn(\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #d69d85; line-height: 26px;\">\"the\u00a0queue's\u00a0messages,\u00a0span too\u00a0long,\u00a0so\u00a0do\u00a0flow\u00a0control,\u00a0minOffset={},\u00a0maxOffset={},\u00a0maxSpan={},\u00a0pullRequest={},\u00a0flowControlTimes={}\"<\/span>,\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0processQueue.getMsgTreeMap().firstKey(),\u00a0processQueue.getMsgTreeMap().lastKey(),\u00a0processQueue.getMaxSpan(),\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0pullRequest,\u00a0queueMaxSpanFlowControlTimes);\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #569cd6; line-height: 26px;\">return<\/span>;\r\n\u00a0\u00a0\u00a0\u00a0}\r\n}\r\n<\/code><\/pre>\n<h3 style=\"font-weight: bold; padding-top: 30px; padding-bottom: 30px; color: #135ce0;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">2.4 \u83b7\u53d6\u9501\u5931\u8d25<\/h3>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u5bf9\u4e8e\u987a\u5e8f\u6d88\u8d39\u7684\u60c5\u51b5\uff0cProcessQueue \u52a0\u9501\u5931\u8d25\uff0c\u4e5f\u4f1a\u5ef6\u8fdf\u62c9\u53d6\uff0c\u8fd9\u4e2a\u5ef6\u8fdf\u65f6\u95f4\u9ed8\u8ba4\u662f 3s\uff0c\u53ef\u4ee5\u914d\u7f6e\u3002<\/p>\n<h2 style=\"font-weight: bold; padding-top: 30px; padding-bottom: 30px; color: #135ce0; font-size: 20px;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><span style=\"border-left: 4px solid; padding-left: 10px;\">3 \u603b\u7ed3<\/span><\/h2>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u672c\u6587\u4ecb\u7ecd\u4e86 RocketMQ \u53d1\u751f\u6d41\u91cf\u63a7\u5236\u7684 8 \u4e2a\u573a\u666f\uff0c\u5176\u4e2d Broker 4 \u4e2a\u573a\u666f\uff0cConsumer 4 \u4e2a\u573a\u666f\u3002Broker \u7684\u6d41\u91cf\u63a7\u5236\uff0c\u672c\u8d28\u662f\u5bf9 Producer \u7684\u6d41\u91cf\u63a7\u5236\uff0c\u6700\u597d\u7684\u89e3\u51b3\u65b9\u6cd5\u5c31\u662f\u7ed9 Broker \u6269\u5bb9\uff0c\u589e\u52a0 Broker \u5199\u5165\u80fd\u529b\u3002\u800c\u5bf9\u4e8e Consumer \u7aef\u7684\u6d41\u91cf\u63a7\u5236\uff0c\u9700\u8981\u89e3\u51b3 Consumer \u7aef\u6d88\u8d39\u6162\u7684\u95ee\u9898\uff0c\u6bd4\u5982\u6709\u7b2c\u4e09\u65b9\u63a5\u53e3\u54cd\u5e94\u6162\u6216\u8005\u6709\u6162 SQL\u3002<\/p>\n<p style=\"padding-top: 8px; padding-bottom: 8px; color: black; line-height: 2; margin-top: 16px;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u5728\u4f7f\u7528\u7684\u65f6\u5019\uff0c\u6839\u636e\u6253\u5370\u7684\u65e5\u5fd7\u53ef\u4ee5\u5206\u6790\u5177\u4f53\u662f\u54ea\u79cd\u60c5\u51b5\u7684\u6d41\u91cf\u63a7\u5236\uff0c\u5e76\u91c7\u7528\u76f8\u5e94\u7684\u63aa\u65bd\u3002<\/p>\n<\/section>\n<\/section>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4f7f\u7528 RocketMQ \u7684\u8fc7\u7a0b\u4e2d\uff0c\u6709\u65f6\u5019\u6211\u4eec\u4f1a\u770b\u5230\u4e0b\u9762\u7684\u65e5\u5fd7\uff1a [TIMEOUT_CLEAN_QUEUE]b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,3],"tags":[],"class_list":["post-7635","post","type-post","status-publish","format-standard","hentry","category-linux","category-system"],"_links":{"self":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/7635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7635"}],"version-history":[{"count":1,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/7635\/revisions"}],"predecessor-version":[{"id":7786,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/7635\/revisions\/7786"}],"wp:attachment":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}