{"id":221041,"date":"2020-11-22T10:08:19","date_gmt":"2020-11-22T02:08:19","guid":{"rendered":"http:\/\/4563.org\/?p=221041"},"modified":"2020-11-22T10:08:19","modified_gmt":"2020-11-22T02:08:19","slug":"%e5%90%90%e4%b8%aa%e6%a7%bd%ef%bc%8c%e6%9c%89%e4%ba%ba%e5%9c%a8%e7%94%a8-rocketmq-client-go-%e5%90%97","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=221041","title":{"rendered":"\u5410\u4e2a\u69fd\uff0c\u6709\u4eba\u5728\u7528 rocketmq-client-go \u5417"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5410\u4e2a\u69fd\uff0c\u6709\u4eba\u5728\u7528 rocketmq-client-go \u5417               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sunday9th <\/span>  <span><i><\/i> 5<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u8fd9\u4e2a go \u5ba2\u6237\u7aef\u611f\u89c9\u8fd8\u662f\u4e2a\u534a\u6210\u54c1<\/p>\n<p><code>pushconsumer<\/code> \u7684\u53d6\u6d88\u8ba2\u9605\u76f4\u63a5\u5c31\u662f\u5565\u90fd\u4e0d\u5e72<\/p>\n<pre><code>func (pc *pushConsumer) Unsubscribe(string) error {  return nil } <\/code><\/pre>\n<p><code>pullconsumer<\/code> \u5e72\u8106\u5c31\u6ca1\u5b9e\u73b0<\/p>\n<pre><code>\/\/ The PullConsumer will be supported in next release func NewPullConsumer(opts ...consumer.Option) (PullConsumer, error) {  return nil, errors.New(\"pull consumer has not supported\") } <\/code><\/pre>\n<p>\u964d\u7ea7\u65b9\u6848\u662f\u4f7f\u7528\u53ef\u80fd\u4f1a\u53d8\u66f4\u7684 <code>consumer.NewPullConsumer()<\/code>\uff0c\u4f46\u662f new \u51fa\u6765\u7684 <code>defaultPullConsumer<\/code>\uff0c\u6ca1\u5b9e\u73b0 <code>PullConsumer<\/code> \u63a5\u53e3\u3002<\/p>\n<p>\u5b9a\u4e49\u7684\u9519\u8bef\u5728 <code>internal<\/code> \u4e0b\u9762\uff0c\u5916\u9762\u5bfc\u51fa\u7684\u9519\u8bef\u5b9a\u4e49\u6839\u672c\u6ca1\u7528\u5230\u3002<\/p>\n<p>\u597d\u4e86\u5410\u69fd\u5b8c\u4e86\uff0c\u60f3\u63d0 pr \u5948\u4f55\u6c34\u5e73\u4e0d\u591f\u2026\u2026<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>5<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4450268\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 676529483 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4e2a\u5c31\u963f\u91cc\u5728\u7ef4\u62a4\uff0c\u6211\u4eec\u516c\u53f8\u4e70\u7684\u963f\u91cc\u4e91\u7684 rocketmq\uff0c\u627e\u4ed6\u4eec\u95ee\u4e3a\u5565\u5185\u5b58\u8fd9\u4e48\u9ad8\uff0c\u8bf4\u5230 limit \u5c31\u6389\u4e0b\u6765\u4e86\uff0c\u5efa\u8bae\u7528 java \u3002\u3002\u3002<br \/>\u603b\u7ed3\uff1a\u5982\u679c\u4e0d\u662f java\/cpp\/.net \u8fd9\u51e0\u4e2a\u5b98\u65b9\u7ef4\u62a4\u7684 sdk\uff0c\u5c3d\u91cf\u907f\u514d\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4450269\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : AIFNI45Mdxn <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ef\u4ee5\u63d0\u4ea4\u5de5\u5355\u5177\u4f53\u6392\u67e5\u4e00\u4e0b\u539f\u56e0                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4450270\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zzzbkl <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u73a9\u610f\u513f\u73b0\u5728\u51fa\u7eaf go \u5b9e\u73b0\u7684\u7a33\u5b9a\u7248\u4e86\u5417<br \/>\u4e4b\u524d\u901a\u8fc7 cgo \u8c03\u7528\u5b9e\u73b0\u7684\u7a33\u5b9a\u7248\uff0c\u8c03\u7528\u9891\u7e41\u4e86\u4e4b\u540e\u603b\u662f\u4f1a\u6709\u5947\u602a\u7684\u5d29\u6e83\u51fa\u73b0<br \/>\u4e8e\u662f\u6211\u4eec\u76f4\u63a5\u5f03\u7528 rocketmq \u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4450271\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Firewine <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             nsq \u4e0d\u9999\u5417\uff0c\u4e3a\u5565\u975e\u8981\u7528 rocketmq                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4450272\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tiedan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u522b\u8bf4\u4e86\uff0c \u592a\u51e0\u628a\u5751\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5410\u4e2a\u69fd\uff0c\u6709\u4eba\u5728\u7528 rocketmq&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\/221041"}],"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=221041"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/221041\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=221041"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=221041"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=221041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}