{"id":321118,"date":"2021-02-05T12:01:39","date_gmt":"2021-02-05T04:01:39","guid":{"rendered":"http:\/\/4563.org\/?p=321118"},"modified":"2021-02-05T12:01:39","modified_gmt":"2021-02-05T04:01:39","slug":"rocketmq-%e7%9a%84%e9%ab%98%e6%80%a7%e8%83%bd%e7%96%91%e9%97%ae","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=321118","title":{"rendered":"rocketMQ \u7684\u9ad8\u6027\u80fd\u7591\u95ee"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  rocketMQ \u7684\u9ad8\u6027\u80fd\u7591\u95ee               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : shuangchengsun <\/span>  <span><i><\/i> 7<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u90fd\u8bf4 RocketMQ \u5728 Topic \u548c\u5206\u533a\u591a\u7684\u573a\u666f\u4e0b\u6027\u80fd\u6bd4\u5361\u592b\u5361\u8981\u5f3a\uff0c\u5927\u5bb6\u7ed9\u51fa\u7684\u539f\u56e0\u662f commitLog \u7684\u7ec4\u7ec7\u65b9\u5f0f\u662f\u6700\u6838\u5fc3\u7684\u56e0\u7d20\uff0crocketMQ \u6240\u6709\u7684\u6d88\u606f\u90fd\u4f1a\u987a\u5e8f\u5199\u5165 commitLog\uff0c\u78c1\u76d8 IO \u4e00\u76f4\u662f\u987a\u5e8f\u5199\u5165\uff0c\u800c\u5361\u592b\u5361\u6bcf\u4e2a\u5206\u533a\u90fd\u6709\u81ea\u5df1\u7684\u6d88\u606f\u6301\u4e45\u5316\u6587\u4ef6\uff0c\u5206\u533a\u591a\u4e86\u4e4b\u540e\u76f8\u5f53\u4e8e\u968f\u673a\u5199\u3002<\/p>\n<p>\u4f46\u662f\u6211\u6700\u8fd1\u5728\u770b\u6e90\u7801\u7684\u65f6\u5019\u53d1\u73b0\uff0crocketmq \u4f1a\u4e3a\u6bcf\u4e2a consumerQueue \u521b\u5efa\u4e00\u4e2a\u6301\u4e45\u5316\u6587\u4ef6\u7528\u4e8e\u4fdd\u5b58\u6d88\u8d39\u8fdb\u5ea6\uff0c<em><strong>\u90a3\u4e48\u95ee\u9898\u6765\u4e86\uff1a\u5728 Topic \u591a\u7684\u65f6\u5019 consumerQueue \u4e5f\u4f1a\u968f\u4e4b\u589e\u591a\uff0c\u90a3\u4e48\u6d88\u8d39\u8fdb\u5ea6\u7684\u6301\u4e45\u5316\u6587\u4ef6\u4e5f\u4f1a\u589e\u591a\uff0c\u4e0d\u4e5f\u76f8\u5f53\u4e8e\u968f\u673a\u5199\u4e48\uff1f\u4e3a\u4ec0\u4e48\u4f1a\u548c\u5361\u592b\u5361\u7ed3\u679c\u76f8\u53cd<\/strong><\/em><\/p>\n<p>\u518d\u770b\u770b\u5b98\u7f51\u4e0a\u5173\u4e8e rocketmq \u7684\u63cf\u8ff0\uff0cTopic \u8fc7\u591a\u5e76\u4e0d\u4f1a\u592a\u62d6\u7d2f RocketMQ \u7684\u6027\u80fd\uff0c\u60f3\u95ee\u95ee\u5404\u4f4d\u5927\u4f6c\u6211\u7684\u7406\u89e3\u662f\u54ea\u513f\u51fa\u4e86\u95ee\u9898\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>3<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4993945\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : billlee <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6ca1\u7528\u8fc7 rocketmq, \u4f46\u6d88\u8d39\u8fdb\u5ea6\u4e0d\u662f\u6bcf\u6d88\u8d39\u4e00\u6761\u90fd\u5199\u4e00\u6b21\u7684\u5427\uff0c\u5f71\u54cd\u6bd4\u8f83\u5c0f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4993946\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : taibai233 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u867d\u7136\u6ca1\u6709\u770b\u8fc7\u4ed6\u7684\u5b9e\u73b0\uff0c\u4e0d\u8fc7\u8fd9\u91cc\u7ed9\u4f60\u7ea0\u6b63\u4e00\u70b9\uff1a<br \/>\u73b0\u4ee3\u7684\u8fd9\u4e9b\u5b58\u50a8\u7cfb\u7edf\u7684\u6301\u4e45\u5316\u5b9e\u73b0\uff0c\u4e3a\u4e86\u5b9e\u73b0\u9ad8\u6548\uff0c\u90fd\u662f\u4e0d\u76f4\u63a5\u843d\u76d8\u7684\u3002\u50cf\u8fd9\u91cc\u867d\u7136\u4f1a\u6709\u591a\u4e2a\u6301\u4e45\u5316\u6587\u4ef6\uff0c\u4f46\u4e5f\u4e0d\u662f\u5199\u4e00\u6761\u843d\u4e00\u6761\uff0c\u800c\u662f\u4f1a\u5148\u5199\u7f13\u5b58\uff0c\u7f13\u5b58\u6ee1\u4e86\uff0c\u518d\u6279\u91cf\u5199\u3002\u8fd9\u91cc\u591a\u4e2a consumerQueue \u53ef\u80fd\u5c31\u5bf9\u5e94\u591a\u4e2a\u5185\u5b58\u7f13\u5b58\u5757\u3002\u4ed6\u662f\u4e0d\u662f\u4f1a\u6709 topic \u591a\u5185\u5b58\u6d88\u8017\u591a\u8fd9\u79cd\u60c5\u51b5\u3002<br \/>\u771f\u6b63\u5199\u4e00\u6761\u843d\u4e00\u6761\u7684\u53ea\u6709 commitLog \u8fd9\u4e1c\u897f\uff0c\u8fd9\u4e5f\u662f\u4e2a\u4e3b\u8981\u53d7\u78c1\u76d8\u6027\u80fd\u5f71\u54cd\u7684\u4e1c\u897f\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4993947\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : h3nng <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             queue \u53ea\u662f\u7d22\u5f15\u8bb0\u5f55\uff0c\u6570\u636e\u91cf\u5f88\u5c0f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>rocketMQ \u7684\u9ad8\u6027\u80fd\u7591\u95ee \u8cc7&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/321118"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=321118"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/321118\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=321118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=321118"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=321118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}