{"id":3144,"date":"2018-10-03T13:15:12","date_gmt":"2018-10-03T05:15:12","guid":{"rendered":"http:\/\/www.xttblog.com\/?p=3144"},"modified":"2018-10-03T13:46:44","modified_gmt":"2018-10-03T05:46:44","slug":"%e5%a4%a7%e6%95%b0%e6%8d%ae%e6%8a%80%e6%9c%af%e4%b9%8b-kafka-%e8%a7%86%e9%a2%91%e6%95%99%e7%a8%8b%e5%85%8d%e8%b4%b9%e4%b8%8b%e8%bd%bd","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=3144","title":{"rendered":"\u5927\u6570\u636e\u6280\u672f\u4e4b kafka \u89c6\u9891\u6559\u7a0b\u514d\u8d39\u4e0b\u8f7d"},"content":{"rendered":"<p>\n\t\u8fd9\u4e24\u5929\u6709\u7f51\u53cb\u5728\u5fae\u4fe1\u516c\u4f17\u53f7\u540e\u53f0\u7559\u8a00\u60f3\u8981 kafka \u7684\u76f8\u5173\u89c6\u9891\u6559\u7a0b\u3002\u6211\u8bb0\u5f97\u4e4b\u524d\u5206\u4eab\u8fc7\uff0c\u540e\u6765\u53ef\u80fd\u94fe\u63a5\u8fc7\u671f\u4e86\uff0c\u6240\u4ee5\u6211\u518d\u7ed9\u5927\u5bb6\u5206\u4eab\u4e00\u6b21\uff0c\u5e0c\u671b\u80fd\u5bf9\u5927\u5bb6\u6709\u6240\u5e2e\u52a9\uff01\n<\/p>\n<p>\n\t\u8fd9\u5957\u89c6\u9891\u6559\u7a0b\u5185\u5bb9\u6709 2\u4e2a\u591a G\uff0c\u89c6\u9891\u8bb2\u7684\u975e\u5e38\u8be6\u7ec6\u3002\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"kafak \u89c6\u9891\u6559\u7a0b\u514d\u8d39\u4e0b\u8f7d\uff01\" src=\"https:\/\/raw.githubusercontent.com\/gcy111\/xttblog\/master\/kafak-2g.png\" style=\"width: 643px;height: 406px\" \/>\n<\/p>\n<p>\n\tKafka\u662f\u7531Apache\u8f6f\u4ef6\u57fa\u91d1\u4f1a\u5f00\u53d1\u7684\u4e00\u4e2a\u5f00\u6e90\u6d41\u5904\u7406\u5e73\u53f0\uff0c\u7531Scala\u548cJava\u7f16\u5199\u3002Kafka\u662f\u4e00\u79cd\u9ad8\u541e\u5410\u91cf\u7684\u5206\u5e03\u5f0f\u53d1\u5e03\u8ba2\u9605\u6d88\u606f\u7cfb\u7edf\uff0c\u5b83\u53ef\u4ee5\u5904\u7406\u6d88\u8d39\u8005\u89c4\u6a21\u7684\u7f51\u7ad9\u4e2d\u7684\u6240\u6709\u52a8\u4f5c\u6d41\u6570\u636e\u3002 \u8fd9\u79cd\u52a8\u4f5c\uff08\u7f51\u9875\u6d4f\u89c8\uff0c\u641c\u7d22\u548c\u5176\u4ed6\u7528\u6237\u7684\u884c\u52a8\uff09\u662f\u5728\u73b0\u4ee3\u7f51\u7edc\u4e0a\u7684\u8bb8\u591a\u793e\u4f1a\u529f\u80fd\u7684\u4e00\u4e2a\u5173\u952e\u56e0\u7d20\u3002 \u8fd9\u4e9b\u6570\u636e\u901a\u5e38\u662f\u7531\u4e8e\u541e\u5410\u91cf\u7684\u8981\u6c42\u800c\u901a\u8fc7\u5904\u7406\u65e5\u5fd7\u548c\u65e5\u5fd7\u805a\u5408\u6765\u89e3\u51b3\u3002 \u5bf9\u4e8e\u50cfHadoop\u7684\u4e00\u6837\u7684\u65e5\u5fd7\u6570\u636e\u548c\u79bb\u7ebf\u5206\u6790\u7cfb\u7edf\uff0c\u4f46\u53c8\u8981\u6c42\u5b9e\u65f6\u5904\u7406\u7684\u9650\u5236\uff0c\u8fd9\u662f\u4e00\u4e2a\u53ef\u884c\u7684\u89e3\u51b3\u65b9\u6848\u3002Kafka\u7684\u76ee\u7684\u662f\u901a\u8fc7Hadoop\u7684\u5e76\u884c\u52a0\u8f7d\u673a\u5236\u6765\u7edf\u4e00\u7ebf\u4e0a\u548c\u79bb\u7ebf\u7684\u6d88\u606f\u5904\u7406\uff0c\u4e5f\u662f\u4e3a\u4e86\u901a\u8fc7\u96c6\u7fa4\u6765\u63d0\u4f9b\u5b9e\u65f6\u7684\u6d88\u606f\u3002\n<\/p>\n<p>\n\t\u76ee\u524d\u5404\u5927\u62db\u8058\u7f51\u7ad9\u4e0a\u5173\u4e8e\u5927\u6570\u636e\u548c kafka \u7684\u9700\u6c42\u975e\u5e38\u591a\uff0c\u6240\u4ee5\u6709\u8fd9\u65b9\u9762\u5174\u8da3\u7684\uff0c\u6216\u8005\u9762\u8bd5\u7684\u516c\u53f8\uff0c\u73b0\u5728\u7684\u516c\u53f8\u6709\u8fd9\u4e2a\u65b9\u5411\u7684\u53ef\u4ee5\u63d0\u524d\u5b66\u4e60\u5b66\u4e60\uff01\n<\/p>\n<p>\n\t\u8fd8\u662f\u8001\u89c4\u77e9\uff0c\u626b\u63cf\u4e0b\u65b9\u4e8c\u7ef4\u7801\uff0c\u5173\u6ce8&ldquo;\u4e1a\u4f59\u8349&rdquo;\u5fae\u4fe1\u516c\u4f17\u53f7\uff0c\u56de\u590d&ldquo;kafka&rdquo;\u5173\u952e\u5b57\u8fdb\u884c\u514d\u8d39\u4e0b\u8f7d\uff01<\/p>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=3144\">\u5927\u6570\u636e\u6280\u672f\u4e4b kafka \u89c6\u9891\u6559\u7a0b\u514d\u8d39\u4e0b\u8f7d<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u4e24\u5929\u6709\u7f51\u53cb\u5728\u5fae\u4fe1\u516c\u4f17\u53f7\u540e\u53f0\u7559\u8a00\u60f3\u8981 kafka \u7684\u76f8\u5173\u89c6\u9891\u6559\u7a0b\u3002\u6211\u8bb0\u5f97\u4e4b\u524d\u5206\u4eab\u8fc7\uff0c\u540e\u6765\u53ef\u80fd\u94fe\u63a5\u8fc7\u671f\u4e86\uff0c\u6240\u4ee5\u6211 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6],"tags":[1688,1696,789,583,791],"class_list":["post-3144","post","type-post","status-publish","format-standard","hentry","category-java","category-yyzt","tag-hadoop","tag-hive","tag-kafka","tag-mapreduce","tag-791"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/3144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3144"}],"version-history":[{"count":2,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/3144\/revisions"}],"predecessor-version":[{"id":3148,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/3144\/revisions\/3148"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}