{"id":46807,"date":"2022-11-24T14:26:31","date_gmt":"2024-01-31T02:42:49","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e9%98%85%e8%af%bb%e4%ba%86-kafka-%e5%ae%98%e6%96%b9%e7%bd%91%e7%ab%99%e7%9a%84-introduction-%e7%9a%84%e7%ac%94%e8%ae%b0%e3%80%82\/"},"modified":"2024-04-29T02:17:38","modified_gmt":"2024-04-28T18:17:38","slug":"%e9%98%85%e8%af%bb%e4%ba%86-kafka-%e5%ae%98%e6%96%b9%e7%bd%91%e7%ab%99%e7%9a%84-introduction-%e7%9a%84%e7%ac%94%e8%ae%b0%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e9%98%85%e8%af%bb%e4%ba%86-kafka-%e5%ae%98%e6%96%b9%e7%bd%91%e7%ab%99%e7%9a%84-introduction-%e7%9a%84%e7%ac%94%e8%ae%b0%e3%80%82\/","title":{"rendered":"\u9605\u8bfb\u4e86 Kafka \u5b98\u65b9\u7f51\u7ad9\u7684 Introduction \u7684\u7b14\u8bb0"},"content":{"rendered":"<p>2016\u5e7411\u670822\u65e5\u5f53\u524d\uff0c\u8bfb\u4e86\u300aApache Kafka\u300b\u4ecb\u7ecd\u7684\u7b14\u8bb0\u3002<\/p>\n<h2>Kafka\u662f\u4e00\u4e2a\u5206\u5e03\u5f0f\u6d41\u5904\u7406\u5e73\u53f0\u3002\u8fd9\u5177\u4f53\u610f\u5473\u7740\u4ec0\u4e48\uff1f<\/h2>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d7ad8913a08637a6976b7\/2-0.png\" alt=\"\" \/><\/div>\n<h2>\u8bdd\u9898\u4e0e\u8bb0\u5f55<\/h2>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d7ad8913a08637a6976b7\/4-1.png\" alt=\"\" \/><\/div>\n<h2>\u5206\u53d1<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30ed\u30b0\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u7fa4\u306f Kafka \u30af\u30e9\u30b9\u30bf\u306e\u4e2d\u3067\u8907\u6570\u30b5\u30fc\u30d0\u30fc\u306b\u5206\u6563\u3055\u308c\u3001\u305d\u308c\u305e\u308c\u306e\u30b5\u30fc\u30d0\u30fc\u304c\u5272\u308a\u632f\u3089\u308c\u305f\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066\u30c7\u30fc\u30bf\u30fb\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u6271\u3046<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u305d\u308c\u305e\u308c\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306f\u8010\u969c\u5bb3\u6027\u306e\u305f\u3081\u8a2d\u5b9a\u53ef\u80fd\u306a\u6570\u306e\u8907\u6570\u30b5\u30fc\u30d0\u30fc\u3078\u3068\u8907\u88fd\u3055\u308c\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u305d\u308c\u305e\u308c\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306f &#8220;leader&#8221; \u3068\u3057\u3066\u6a5f\u80fd\u3059\u308b 1 \u30b5\u30fc\u30d0\u30fc\u3068\u30010\uff5e\u8907\u6570\u53f0\u306e &#8220;followers&#8221; \u30b5\u30fc\u30d0\u30fc\u3092\u6301\u3064<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">leader \u306f\u305d\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u3059\u3079\u3066\u306e read\/write \u30ea\u30af\u30a8\u30b9\u30c8\u3092\u51e6\u7406\u3059\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>followers \u306f\u53d7\u52d5\u7684\u306b leader \u3092\u8907\u88fd\u3059\u308b<\/p>\n<p>leader \u304c\u6b7b\u306c\u3068\u3001followers \u306e\u3046\u3061\u306e 1 \u30b5\u30fc\u30d0\u30fc\u304c\u65b0\u3057\u3044 leader \u3068\u306a\u308b<br \/>\n\u305d\u308c\u305e\u308c\u306e\u30b5\u30fc\u30d0\u30fc\u306f\u3044\u304f\u3064\u304b\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u7fa4\u306e leader \u304b\u3064\u3001\u5225\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u7fa4\u306e follower \u3068\u3057\u3066\u6a5f\u80fd\u3059\u308b<\/p>\n<p>\u30af\u30e9\u30b9\u30bf\u5185\u3067\u306f\u3044\u3044\u30d0\u30e9\u30f3\u30b9\u3068\u306a\u308b<\/p>\n<h2>\u5236\u9020\u5546<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">producer \u306f\u81ea\u5206\u3067\u9078\u3093\u3060\u30c8\u30d4\u30c3\u30af\u306b\u30c7\u30fc\u30bf\u3092\u767a\u884c\u3059\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">producer \u306f\u30c8\u30d4\u30c3\u30af\u5185\u306e\u3069\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306b\u30ec\u30b3\u30fc\u30c9\u3092\u5272\u308a\u5f53\u3066\u308b\u304b\u3092\u9078\u3076\u8cac\u4efb\u304c\u3042\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>\u8ca0\u8377\u5bfe\u7b56\u306e\u305f\u3081\u306b\u5358\u7d14\u306a round-robin \u3067\u884c\u3046\u3053\u3068\u3082\u3067\u304d\u308b<br \/>\n\u307e\u305f\u3001(\u30ec\u30b3\u30fc\u30c9\u306e\u30ad\u30fc\u306e\u3088\u3046\u306a) \u306a\u3093\u3089\u304b\u306e\u610f\u5473\u304c\u3042\u308b\u5206\u5272\u306e\u3084\u308a\u65b9\u306b\u3057\u305f\u304c\u3063\u3066\u884c\u3046\u3053\u3068\u3082\u3067\u304d\u308b<\/p>\n<p>\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u5229\u7528\u306b\u3064\u3044\u3066\u306f\u3053\u306e\u3042\u3068\u3059\u3050\u8aac\u660e\u3059\u308b<\/p>\n<h2>\u6d88\u8d39\u8005<\/h2>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d7ad8913a08637a6976b7\/10-0.png\" alt=\"\" \/><\/div>\n<h2>\u4fdd\u8bc1<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u9ad8\u3044\u30ec\u30d9\u30eb\u3067 Kafka \u306f\u4e0b\u8a18\u3092\u4fdd\u8a3c\u3057\u3066\u3044\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>producer \u304b\u3089\u7279\u5b9a\u306e topic \u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3078\u9001\u4fe1\u3055\u308c\u305f\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u3001\u9001\u4fe1\u3055\u308c\u305f\u9806\u756a\u3067 append \u3055\u308c\u308b<\/p>\n<p>\u3059\u306a\u308f\u3061\u30ec\u30b3\u30fc\u30c9 M1 \u3068 M2 \u304c\u540c\u3058 produducer \u304b\u3089\u9001\u4fe1\u3055\u308c\u3001M1 \u304c\u5148\u306b\u9001\u4fe1\u3055\u308c\u305f\u306a\u3089\u3001M1 \u306f M1 \u3088\u308a\u3082\u5024\u306e\u5c0f\u3055\u3044 offset \u3092\u6301\u3061\u3001\u30ed\u30b0\u306e\u3088\u308a\u6700\u521d\u306e\u307b\u3046\u306b\u73fe\u308c\u308b<\/p>\n<p>consumer \u306f\u30ed\u30b0\u306b\u84c4\u7a4d\u3055\u308c\u305f\u9806\u756a\u306b\u30ec\u30b3\u30fc\u30c9\u3092\u898b\u308b<br \/>\n\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30fb\u30d5\u30a1\u30af\u30bf\u30fc N \u306e\u30c8\u30d4\u30c3\u30af\u306b\u3064\u3044\u3066\u3001N-1 \u53f0\u306e\u30b5\u30fc\u30d0\u30fc\u304c\u6b7b\u3093\u3067\u3082\u3001\u30ed\u30b0\u306b\u30b3\u30df\u30c3\u30c8\u3055\u308c\u305f\u30ec\u30b3\u30fc\u30c9\u306f\u5931\u308f\u308c\u305a\u3001\u969c\u5bb3\u306b\u8010\u3048\u3046\u308b<\/p>\n<p>\u3053\u308c\u3089\u306e\u4fdd\u8a3c\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e &#8220;design&#8221; \u30bb\u30af\u30b7\u30e7\u30f3\u306b\u66f8\u3044\u3066\u3042\u308b<\/p>\n<h2>\u5361\u592b\u5361\u4f5c\u4e3a\u4e00\u79cd\u6d88\u606f\u4f20\u9012\u7cfb\u7edf<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Kafka \u306e\u30b9\u30c8\u30ea\u30fc\u30e0\u306e\u6982\u5ff5\u306f\u4f1d\u7d71\u7684\u306a\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba\u30fb\u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0\u30fb\u30b7\u30b9\u30c6\u30e0\u3068\u3069\u306e\u3088\u3046\u306b\u6bd4\u3079\u3066\u3069\u3046\u3060\u308d\u3046\u304b\uff1f<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0\u306b\u306f\u4f1d\u7d71\u7684\u306b 2 \u3064\u306e\u30e2\u30c7\u30eb queuing \u3068 publish-subscribe \u304c\u3042\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>queue \u3067\u306f\u30d7\u30fc\u30eb\u3055\u308c\u305f consumer \u304c\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u8aad\u307f\u51fa\u3057\u3001\u305d\u308c\u305e\u308c\u306e\u30ec\u30b3\u30fc\u30c9\u306f consumer \u306e\u3044\u305a\u308c\u304b\u306b\u5c4a\u304f<br \/>\npublish-subscribe \u3067\u306f\u30ec\u30b3\u30fc\u30c9\u306f\u3059\u3079\u3066\u306e consumer \u306b\u5c4a\u304f<\/p>\n<p>2 \u3064\u306e\u30e2\u30c7\u30eb\u306b\u306f\u30e1\u30ea\u30c3\u30c8\u3068\u30c7\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308b<\/p>\n<p>queuing \u306e\u30e1\u30ea\u30c3\u30c8\u306f\u30c7\u30fc\u30bf\u306e\u51e6\u7406\u3092\u8907\u6570\u306e consumer \u306b\u307e\u305f\u304c\u3063\u3066\u5206\u5272\u3057\u3001\u51e6\u7406\u3092\u30b9\u30b1\u30fc\u30eb\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3053\u3068<br \/>\n\u6b8b\u5ff5\u306a\u3053\u3068\u306b queue \u306f\u8907\u6570\u306e\u30b5\u30d6\u30b9\u30af\u30e9\u30a4\u30d0\u30fc\u3092\u6301\u3066\u306a\u3044\u3001\u3064\u307e\u308a 1 \u3064\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u30c7\u30fc\u30bf\u3092\u8aad\u3080\u3068\u30c7\u30fc\u30bf\u306f\u6d88\u3048\u3066\u3057\u307e\u3046<br \/>\npublish-subscribe \u306a\u3089\u8907\u6570\u306e\u30d7\u30ed\u30bb\u30b9\u3059\u3079\u3066\u306b\u30c7\u30fc\u30bf\u3092\u9001\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u304c\u3001\u3059\u3079\u3066\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u305d\u308c\u305e\u308c\u306e\u30b5\u30d6\u30b9\u30af\u30e9\u30a4\u30d0\u306b\u9001\u4fe1\u3055\u308c\u3066\u3057\u307e\u3046\u305f\u3081\u3001\u30b9\u30b1\u30fc\u30eb\u3055\u305b\u308b\u65b9\u6cd5\u304c\u306a\u3044<\/p>\n<p>Kafka \u306e consumer group \u306e\u6982\u5ff5\u306f\u3053\u306e 2 \u3064\u306e\u6982\u5ff5\u3092\u4e00\u822c\u5316\u3057\u305f\u3082\u306e\u3060<\/p>\n<p>queue \u306b\u95a2\u3057\u3066\u3001consumer group \u306a\u3089\u51e6\u7406\u3092\u3044\u304f\u3064\u304b\u306e\u30d7\u30ed\u30bb\u30b9 (= consumer group \u306e\u30e1\u30f3\u30d0\u30fc\u305f\u3061) \u306b\u5206\u5272\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b<br \/>\npublish-sbscribe \u306b\u95a2\u3057\u3066\u3001Kafka \u306a\u3089\u8907\u6570\u306e consumer group \u3059\u3079\u3066\u306b\u5bfe\u3057\u3066\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u4fe1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/p>\n<p>Kafka \u306e\u30e2\u30c7\u30eb\u306e\u5229\u70b9\u306f\u3001\u3059\u3079\u3066\u306e\u30c8\u30d4\u30c3\u30af\u304c\u4e21\u65b9\u306e\u6027\u8cea\u3092\u6301\u3063\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u3060<\/p>\n<p>\u51e6\u7406\u3092\u30b9\u30b1\u30fc\u30eb\u3055\u305b\u308b\u3053\u3068\u3082\u3067\u304d\u308b\u3057\u3001\u8907\u6570\u306e\u30b5\u30d6\u30b9\u30af\u30e9\u30a4\u30d0\u30fc\u3092\u6301\u305f\u305b\u308b\u3053\u3068\u3082\u3067\u304d\u308b<br \/>\n\u3069\u3061\u3089\u304b\u3092\u3048\u3089\u3076\u5fc5\u8981\u306f\u306a\u3044<\/p>\n<p>Kafka \u306f\u4f1d\u7d71\u7684\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0\u30fb\u30b7\u30b9\u30c6\u30e0\u3088\u308a\u3082\u5f37\u529b\u306b\u9806\u756a\u3092\u4fdd\u8a3c\u3057\u3066\u3044\u308b<br \/>\n\u4f1d\u7d71\u7684\u306a queue \u306f\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u9806\u756a\u3092\u4fdd\u6301\u3057\u305f\u30ec\u30b3\u30fc\u30c9\u306e\u4e00\u89a7\u3092\u4fdd\u6301\u3057\u3066\u304a\u308a\u3001\u8907\u6570\u306e consumer \u304c queue \u304b\u3089 consume \u3057\u305f\u5834\u5408\u306b\u306f\u30b5\u30fc\u30d0\u30fc\u306f\u4fdd\u5b58\u3055\u308c\u305f\u9806\u756a\u306b\u30ec\u30b3\u30fc\u30c9\u3092\u5206\u914d\u3059\u308b<\/p>\n<p>\u3057\u304b\u3057\u3001\u30b5\u30fc\u30d0\u30fc\u306f\u9806\u756a\u901a\u308a\u306b\u30ec\u30b3\u30fc\u30c9\u3092\u5206\u914d\u3059\u308b\u306e\u3060\u304c\u3001\u30ec\u30b3\u30fc\u30c9\u304c consumer \u306b\u975e\u540c\u671f\u7684\u306b\u5206\u914d\u3055\u308c\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u3053\u3068\u306a\u308b consumer \u7fa4\u306b\u5c4a\u304f\u3053\u308d\u306b\u306f\u9806\u756a\u304c\u4e71\u308c\u3066\u3057\u307e\u3063\u3066\u3044\u308b<br \/>\n\u3053\u308c\u306f\u4e26\u5217\u7684\u306a consume \u3092\u884c\u3046\u3068\u30ec\u30b3\u30fc\u30c9\u306e\u9806\u756a\u304c\u5931\u308f\u308c\u3066\u3057\u307e\u3046\u3053\u3068\u3092\u610f\u5473\u3057\u3066\u3044\u308b<\/p>\n<p>\u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u3001\u300c\u6392\u4ed6\u7684\u306a consumer\u300d\u306e\u6982\u5ff5\u3092\u6301\u3064\u3053\u3068\u3067\u3053\u306e\u554f\u984c\u3092\u56de\u907f\u3057\u3066\u304d\u305f<br \/>\n* 1 \u3064\u306e\u30d7\u30ed\u30bb\u30b9\u3060\u3051\u304c 1 \u3064\u306e\u30ad\u30e5\u30fc\u304b\u3089 consume \u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3068\u3044\u3046\u3082\u306e<br \/>\n* \u3057\u304b\u3057\u5f53\u7136\u306a\u304c\u3089\u4e26\u5217\u7684\u306a\u51e6\u7406\u306f\u4e0d\u53ef\u3068\u306a\u3063\u3066\u3057\u307e\u3046<br \/>\nKafka \u306a\u3089\u3082\u3063\u3068\u3046\u307e\u304f\u3084\u308c\u308b<\/p>\n<p>\u30c8\u30d4\u30c3\u30af\u306b\u4e26\u5217\u6027 (= \u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3) \u306e\u6982\u5ff5\u3092\u6301\u305f\u305b\u308b\u3053\u3068\u3067\u3001Kafka \u306f\u9806\u756a\u306e\u4fdd\u8a3c\u3082\u3067\u304d\u308b\u3057\u3001\u30d7\u30fc\u30eb\u3055\u308c\u305f consumer \u30d7\u30ed\u30bb\u30b9\u9593\u3067\u8ca0\u8377\u5206\u6563\u3092\u884c\u3046\u3053\u3068\u3082\u3067\u304d\u308b<\/p>\n<p>\u3053\u308c\u306f\u30c8\u30d4\u30c3\u30af\u5185\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092 consumer group \u5185\u306e consumer \u306b\u5272\u308a\u5f53\u3066\u3001\u305d\u308c\u305e\u308c\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u304c\u5fc5\u305a group \u5185\u306e 1 \u3064\u306e consumer \u306b\u3060\u3051 consume \u3055\u308c\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u5b9f\u73fe\u3055\u308c\u3066\u3044\u308b<\/p>\n<p>\u3053\u308c\u3092\u884c\u3046\u3053\u3068\u3067\u3001\u305d\u306e consumer \u3060\u3051\u304c\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u8aad\u3093\u3067\u304a\u308a\u3001\u9806\u756a\u306b\u30c7\u30fc\u30bf\u3092 consume \u3057\u3066\u3044\u308b\u3053\u3068\u3092\u4fdd\u8a3c\u3067\u304d\u308b<\/p>\n<p>\u305f\u304f\u3055\u3093\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u7528\u610f\u3059\u308c\u3070\u3001consumer \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u9593\u3067\u8ca0\u8377\u3092\u5206\u6563\u3055\u305b\u308b\u3053\u3068\u3082\u3067\u304d\u308b<br \/>\n\u3057\u304b\u3057\u3001consumer group \u5185\u306b\u306f\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u6570\u3088\u308a\u591a\u304f\u306e consumer \u3092\u6240\u5c5e\u3055\u305b\u308b\u3053\u3068\u306f\u3067\u304d\u306a\u3044\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u307b\u3057\u3044<\/p>\n<h2>\u5361\u592b\u5361\u4f5c\u4e3a\u4e00\u79cd\u5b58\u50a8\u7cfb\u7edf<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u3069\u3093\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u30ad\u30e5\u30fc\u3067\u3082\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u306e publish \u304c consume \u3068\u5206\u96e2\u3055\u308c\u3066\u3044\u308c\u3070\u3001\u3084\u308a\u3068\u308a\u3055\u308c\u3066\u3044\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u3068\u3063\u3066\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u30b7\u30b9\u30c6\u30e0\u3068\u3057\u3066\u6a5f\u80fd\u306f\u3059\u308b\u3060\u308d\u3046<\/ul>\n<\/li>\n<\/ul>\n<p>Kafka \u304c\u3061\u304c\u3046\u306e\u306f\u3001\u305d\u308c\u304c\u975e\u5e38\u306b\u3059\u3050\u308c\u305f\u30b9\u30c8\u30ec\u30fc\u30b8\u30fb\u30b7\u30b9\u30c6\u30e0\u3067\u3042\u308b\u3068\u3044\u3046\u3053\u3068\u3060<\/p>\n<p>Kafka \u306b\u66f8\u304d\u8fbc\u307e\u308c\u308b\u30c7\u30fc\u30bf\u306f\u3001\u30c7\u30a3\u30b9\u30af\u306b\u66f8\u304b\u308c\u3001\u8010\u969c\u5bb3\u6027\u306e\u305f\u3081\u306b\u8907\u88fd\u3055\u308c\u308b<\/p>\n<p>Kafka \u306f producer \u3092\u5f85\u305f\u305b\u3001\u66f8\u304d\u8fbc\u307f\u304c\u5b8c\u5168\u306b\u8907\u88fd\u3055\u308c\u3001\u66f8\u304d\u8fbc\u3093\u3060\u5148\u306e\u30b5\u30fc\u30d0\u30fc\u304c\u6b7b\u3093\u3067\u3082\u30c7\u30fc\u30bf\u304c\u751f\u304d\u7d9a\u3051\u308b\u3053\u3068\u304c\u4fdd\u8a3c\u3055\u308c\u3066\u304b\u3089 ACK \u3092\u9001\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/p>\n<p>Kafka \u304c\u4f7f\u3046\u30c7\u30a3\u30b9\u30af\u69cb\u6210\u306f\u3046\u307e\u304f\u30b9\u30b1\u30fc\u30eb\u3059\u308b<\/p>\n<p>Kafka \u306f\u30b5\u30fc\u30d0\u30fc\u4e0a\u306b 50KB \u306e\u6c38\u7d9a\u7684\u306a\u30c7\u30fc\u30bf\u304c\u3042\u308b\u5834\u5408\u3067\u3082\u300150TB \u306e\u30c7\u30fc\u30bf\u304c\u3042\u308b\u5834\u5408\u3067\u3082\u3001\u540c\u3058\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u767a\u63ee\u3059\u308b<\/p>\n<p>\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u771f\u5263\u306b\u53d6\u308a\u7d44\u307f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u8aad\u307f\u51fa\u3057\u306e\u4f4d\u7f6e\u3092\u5236\u5fa1\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u3053\u3068\u3067\u3001Kafka \u306f\u9ad8\u6027\u80fd\u3067\u4f4e\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u306a\u30b3\u30df\u30c3\u30c8\u30ed\u30b0\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u5099\u3048\u3001\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30fb\u4f1d\u64ad\u304c\u53ef\u80fd\u306a\u3001\u4e00\u7a2e\u306e\u7279\u6b8a\u306a\u5206\u6563\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3068\u3057\u3066\u6349\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/p>\n<h2>\u6d41\u5904\u7406\u7684\u5361\u592b\u5361<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u5358\u306b\u30b9\u30c8\u30ea\u30fc\u30e0\u30fb\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u3001\u66f8\u304d\u3001\u4fdd\u5b58\u3059\u308b\u3060\u3051\u3067\u306f\u4e0d\u5341\u5206\u3067\u3001\u76ee\u7684\u306f\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306e\u30b9\u30c8\u30ea\u30fc\u30e0\u51e6\u7406\u3092\u884c\u3046\u3053\u3068\u3060<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Kafka \u306b\u306f\u30b9\u30c8\u30ea\u30fc\u30e0\u30d7\u30ed\u30bb\u30c3\u30b5\u30fc\u6a5f\u80fd\u304c\u3042\u308a\u3001\u9023\u7d9a\u3057\u305f\u30b9\u30c8\u30ea\u30fc\u30e0\u30fb\u30c7\u30fc\u30bf\u3092\u5165\u529b\u30c8\u30d4\u30c3\u30af\u304b\u3089\u53d7\u3051\u53d6\u308a\u3001\u305d\u306e\u5165\u529b\u306b\u5bfe\u3057\u3066\u306a\u3093\u3089\u304b\u306e\u51e6\u7406\u3092\u884c\u3044\u3001\u51fa\u529b\u30c8\u30d4\u30c3\u30af\u3078\u3068\u9023\u7d9a\u3057\u305f\u30b9\u30c8\u30ea\u30fc\u30e0\u30fb\u30c7\u30fc\u30bf\u3092 produce \u3059\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u305f\u3068\u3048\u3070\u3001\u5c0f\u58f2\u5e97\u306e\u305f\u3081\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u3001\u5165\u529b\u306e\u30b9\u30c8\u30ea\u30fc\u30e0\u3068\u3057\u3066\u58f2\u308a\u4e0a\u3052\u3068\u51fa\u8377\u306e\u30c7\u30fc\u30bf\u3092\u53d7\u3051\u53d6\u308a\u3001\u305d\u306e\u30c7\u30fc\u30bf\u3092\u3082\u3068\u306b\u8a08\u7b97\u3055\u308c\u305f\u518d\u6ce8\u6587\u3068\u4fa1\u683c\u306e\u30c7\u30fc\u30bf\u3092\u51fa\u529b\u3059\u308b\u3060\u308d\u3046<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u76f4\u63a5 producer\/consumer API \u3092\u4f7f\u3046\u3053\u3068\u3067\u30b7\u30f3\u30d7\u30eb\u306a\u51e6\u7406\u304c\u53ef\u80fd\u3068\u306a\u308b\u304c\u3001\u3082\u3063\u3068\u8907\u96d1\u306a\u30c7\u30fc\u30bf\u5909\u5f62\u306e\u305f\u3081\u306b Kafka \u306f\u5b8c\u5168\u306b\u7d71\u5408\u3055\u308c\u305f Streams API \u304c\u5099\u3048\u3066\u3044\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u30b9\u30c8\u30ea\u30fc\u30e0\u306e aggregations \u3092\u8a08\u7b97\u3057\u305f\u308a\u30b9\u30c8\u30ea\u30fc\u30e0\u3092 join \u3059\u308b\u3068\u3044\u3063\u305f\u3088\u3046\u306a\u96e3\u3057\u3044\u51e6\u7406\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u308b<\/p>\n<p>\u3053\u306e\u6a5f\u80fd\u306f\u3053\u306e\u7a2e\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u76f4\u9762\u3059\u308b\u96e3\u3057\u3044\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u52a9\u3051\u3068\u306a\u308b<\/p>\n<p>\u30bd\u30fc\u30c8\u3055\u308c\u3066\u3044\u306a\u3044\u30c7\u30fc\u30bf\u3092\u6271\u3063\u305f\u308a<br \/>\n\u30b3\u30fc\u30c9\u306e\u5909\u66f4\u304c\u3042\u308b\u3054\u3068\u306b\u5165\u529b\u3092\u518d\u51e6\u7406\u3057\u305f\u308a<br \/>\n\u30b9\u30c6\u30fc\u30c8\u30d5\u30eb\u306a\u8a08\u7b97\u3092\u884c\u3063\u305f\u308a\u3001\u7b49\u3005<\/p>\n<p>streams API \u306f Kafka \u304c\u63d0\u4f9b\u3059\u308b\u30b3\u30a2\u57fa\u672c\u6a5f\u80fd\u3092\u3082\u3068\u306b\u4f5c\u3089\u308c\u3066\u3044\u308b<\/p>\n<p>producer\/consumer API \u304c\u5229\u7528\u3055\u308c\u3001Kafka \u306e\u30b9\u30c6\u30fc\u30c8\u30d5\u30eb\u30b9\u30c8\u30ec\u30fc\u30b8\u304c\u5229\u7528\u3055\u308c\u3001\u30b9\u30c8\u30ea\u30fc\u30e0\u30fb\u30d7\u30ed\u30bb\u30c3\u30b5\u30fc\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u9593\u3067\u306f consumer group \u3068\u540c\u3058\u8010\u969c\u5bb3\u30e1\u30ab\u30cb\u30ba\u30e0\u304c\u5229\u7528\u3055\u308c\u3066\u3044\u308b<\/p>\n<h2>\u62fc\u51d1\u788e\u7247<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0\u3001\u30b9\u30c8\u30ec\u30fc\u30b8\u3001\u30b9\u30c8\u30ea\u30fc\u30e0\u51e6\u7406\u306e\u7d44\u307f\u5408\u308f\u305b\u306f\u7570\u5e38\u306b\u898b\u3048\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u304c\u3001streaming platform \u3068\u3057\u3066 Kafka \u306e\u5f79\u5272\u306b\u3068\u3063\u3066\u306f\u91cd\u8981\u306a\u3082\u306e\u3060<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">HDFS \u306e\u3088\u3046\u306a\u5206\u6563\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u3001\u30d0\u30c3\u30c1\u51e6\u7406\u306b\u3068\u3063\u3066\u975e\u5e38\u306b\u5f37\u304f\u9759\u7684\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>\u3053\u306e\u3088\u3046\u306a\u30b7\u30b9\u30c6\u30e0\u306f\u904e\u53bb\u304b\u3089\u306e\u6b74\u53f2\u7684\u306a\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u3057\u51e6\u7406\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/p>\n<p>\u4f1d\u7d71\u7684\u306a\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba\u30fb\u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0\u30fb\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u8cfc\u8aad\u3057\u305f\u3042\u3068\u306b\u5c4a\u304f\u672a\u6765\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u51e6\u7406\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/p>\n<p>\u3053\u306e\u3088\u3046\u306b\u4f5c\u3089\u308c\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u5c4a\u3044\u305f\u9806\u306b\u672a\u6765\u306e\u30c7\u30fc\u30bf\u3092\u51e6\u7406\u3059\u308b<\/p>\n<p>Kafka \u306f\u4e21\u65b9\u306e\u80fd\u529b\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u304a\u308a\u3001\u3053\u306e\u7d44\u307f\u5408\u308f\u305b\u306f Kafka \u3092\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3068\u3057\u3066\u4f7f\u3046\u306b\u3057\u3066\u3082\u3001\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u30fb\u30c7\u30fc\u30bf\u30fb\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3068\u3057\u3066\u4f7f\u3046\u306b\u3057\u3066\u3082\u91cd\u8981\u306a\u3082\u306e\u3060<br \/>\n\u30b9\u30c8\u30ec\u30fc\u30b8\u3068\u4f4e\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u306a\u8cfc\u8aad\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u30fb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u904e\u53bb\u3068\u672a\u6765\u306e\u4e21\u65b9\u306e\u30c7\u30fc\u30bf\u3092\u540c\u3058\u3088\u3046\u306b\u6271\u3046\u3053\u3068\u304c\u3067\u304d\u308b<\/p>\n<p>1 \u3064\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u3001\u6b74\u53f2\u7684\u306a\u4fdd\u5b58\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3092\u6271\u3044\u3001\u3057\u304b\u3082\u6700\u5f8c\u306e\u30c7\u30fc\u30bf\u304c\u5c4a\u3044\u305f\u3068\u304d\u306b\u51e6\u7406\u304c\u7d42\u4e86\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u672a\u6765\u306e\u30c7\u30fc\u30bf\u304c\u5c4a\u304f\u306b\u3064\u308c\u3066\u51e6\u7406\u3092\u3057\u3064\u3065\u3051\u308b\u306e\u3060<br \/>\n\u3053\u308c\u306f\u4e00\u822c\u5316\u3055\u308c\u305f\u30b9\u30c8\u30ea\u30fc\u30e0\u51e6\u7406\u306e\u6982\u5ff5\u3067\u3042\u308a\u3001\u30d0\u30c3\u30c1\u51e6\u7406\u3068\u30e1\u30c3\u30bb\u30fc\u30b8\u99c6\u52d5\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u4e21\u65b9\u3092\u5305\u542b\u3057\u3066\u3044\u308b<\/p>\n<p>\u540c\u3058\u3088\u3046\u306b\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u30fb\u30c7\u30fc\u30bf\u30fb\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306b\u3068\u3063\u3066\u306f\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306a\u30a4\u30d9\u30f3\u30c8\u306e\u8cfc\u8aad\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001Kafka \u3092\u975e\u5e38\u306b\u4f4e\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u306a\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3068\u3044\u3057\u3066\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u308b<\/p>\n<p>\u3057\u304b\u3057\u3001\u30c7\u30fc\u30bf\u4fdd\u5b58\u306b\u4fe1\u983c\u6027\u304c\u3042\u308b\u306e\u3067\u3001\u30c7\u30fc\u30bf\u5230\u9054\u6027\u306e\u4fdd\u8a3c\u304c\u30de\u30b9\u30c8\u3060\u3063\u305f\u308a\u3001\u5b9a\u671f\u7684\u306b\u3057\u304b\u30c7\u30fc\u30bf\u3092\u30ed\u30fc\u30c9\u3057\u306a\u304b\u3063\u305f\u308a\u3001\u9577\u671f\u9593\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3067\u843d\u3061\u308b\u3053\u3068\u304c\u3042\u308b\u3088\u3046\u306a\u30aa\u30d5\u30e9\u30a4\u30f3\u30fb\u30b7\u30b9\u30c6\u30e0\u3068\u306e\u30a4\u30f3\u30c6\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306b\u4f7f\u3046\u3053\u3068\u3082\u3067\u304d\u308b<br \/>\n\u30b9\u30c8\u30ea\u30fc\u30e0\u51e6\u7406\u6a5f\u80fd\u306b\u3088\u308a\u3001\u30c7\u30fc\u30bf\u304c\u5230\u9054\u3059\u308b\u306b\u3064\u308c\u3066\u5909\u5f62\u51e6\u7406\u3092\u884c\u3046\u3053\u3068\u304c\u53ef\u80fd\u3067\u3042\u308b<\/p>\n<p>\u4fe1\u983c\u6027\u3001API\u3001Kafka \u304c\u63d0\u4f9b\u3059\u308b\u6a5f\u80fd\u306b\u3064\u3044\u3066\u306e\u8a73\u7d30\u306f\u3001documentation \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044<\/p>\n<h2>\u82f1\u6587\u55ae\u5b57\u7b46\u8a18<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">of one&#8217;s choice = \u81ea\u5206\u3067\u9078\u3093\u3060<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">in flight = \u98db\u884c\u4e2d\u306e<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">propagation = \u4f1d\u64ad<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">retail = \u5c0f\u58f2\u5e97<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">subsume = \u5305\u542b\u3059\u308b<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>2016\u5e7411\u670822\u65e5\u5f53\u524d\uff0c\u8bfb\u4e86\u300aApache Kafka\u300b\u4ecb\u7ecd\u7684\u7b14\u8bb0\u3002 Kafka\u662f\u4e00\u4e2a\u5206\u5e03\u5f0f\u6d41\u5904\u7406\u5e73\u53f0\u3002\u8fd9 [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-46807","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u9605\u8bfb\u4e86 Kafka \u5b98\u65b9\u7f51\u7ad9\u7684 Introduction \u7684\u7b14\u8bb0 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u9605\u8bfb\u4e86-kafka-\u5b98\u65b9\u7f51\u7ad9\u7684-introduction-\u7684\u7b14\u8bb0\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u9605\u8bfb\u4e86 Kafka \u5b98\u65b9\u7f51\u7ad9\u7684 Introduction \u7684\u7b14\u8bb0\" \/>\n<meta property=\"og:description\" content=\"2016\u5e7411\u670822\u65e5\u5f53\u524d\uff0c\u8bfb\u4e86\u300aApache Kafka\u300b\u4ecb\u7ecd\u7684\u7b14\u8bb0\u3002 Kafka\u662f\u4e00\u4e2a\u5206\u5e03\u5f0f\u6d41\u5904\u7406\u5e73\u53f0\u3002\u8fd9 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u9605\u8bfb\u4e86-kafka-\u5b98\u65b9\u7f51\u7ad9\u7684-introduction-\u7684\u7b14\u8bb0\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-31T02:42:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-28T18:17:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d7ad8913a08637a6976b7\/2-0.png\" \/>\n<meta name=\"author\" content=\"\u96c5, \u609f\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u96c5, \u609f\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e9%98%85%e8%af%bb%e4%ba%86-kafka-%e5%ae%98%e6%96%b9%e7%bd%91%e7%ab%99%e7%9a%84-introduction-%e7%9a%84%e7%ac%94%e8%ae%b0%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e9%98%85%e8%af%bb%e4%ba%86-kafka-%e5%ae%98%e6%96%b9%e7%bd%91%e7%ab%99%e7%9a%84-introduction-%e7%9a%84%e7%ac%94%e8%ae%b0%e3%80%82\/\",\"name\":\"\u9605\u8bfb\u4e86 Kafka \u5b98\u65b9\u7f51\u7ad9\u7684 Introduction \u7684\u7b14\u8bb0 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2024-01-31T02:42:49+00:00\",\"dateModified\":\"2024-04-28T18:17:38+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e9%98%85%e8%af%bb%e4%ba%86-kafka-%e5%ae%98%e6%96%b9%e7%bd%91%e7%ab%99%e7%9a%84-introduction-%e7%9a%84%e7%ac%94%e8%ae%b0%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e9%98%85%e8%af%bb%e4%ba%86-kafka-%e5%ae%98%e6%96%b9%e7%bd%91%e7%ab%99%e7%9a%84-introduction-%e7%9a%84%e7%ac%94%e8%ae%b0%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e9%98%85%e8%af%bb%e4%ba%86-kafka-%e5%ae%98%e6%96%b9%e7%bd%91%e7%ab%99%e7%9a%84-introduction-%e7%9a%84%e7%ac%94%e8%ae%b0%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u9605\u8bfb\u4e86 Kafka \u5b98\u65b9\u7f51\u7ad9\u7684 Introduction \u7684\u7b14\u8bb0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6\",\"name\":\"\u96c5, \u609f\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g\",\"caption\":\"\u96c5, \u609f\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yawu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e9%98%85%e8%af%bb%e4%ba%86-kafka-%e5%ae%98%e6%96%b9%e7%bd%91%e7%ab%99%e7%9a%84-introduction-%e7%9a%84%e7%ac%94%e8%ae%b0%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u9605\u8bfb\u4e86 Kafka \u5b98\u65b9\u7f51\u7ad9\u7684 Introduction \u7684\u7b14\u8bb0 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u9605\u8bfb\u4e86-kafka-\u5b98\u65b9\u7f51\u7ad9\u7684-introduction-\u7684\u7b14\u8bb0\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u9605\u8bfb\u4e86 Kafka \u5b98\u65b9\u7f51\u7ad9\u7684 Introduction \u7684\u7b14\u8bb0","og_description":"2016\u5e7411\u670822\u65e5\u5f53\u524d\uff0c\u8bfb\u4e86\u300aApache Kafka\u300b\u4ecb\u7ecd\u7684\u7b14\u8bb0\u3002 Kafka\u662f\u4e00\u4e2a\u5206\u5e03\u5f0f\u6d41\u5904\u7406\u5e73\u53f0\u3002\u8fd9 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u9605\u8bfb\u4e86-kafka-\u5b98\u65b9\u7f51\u7ad9\u7684-introduction-\u7684\u7b14\u8bb0\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-01-31T02:42:49+00:00","article_modified_time":"2024-04-28T18:17:38+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d7ad8913a08637a6976b7\/2-0.png"}],"author":"\u96c5, \u609f","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u96c5, \u609f","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e9%98%85%e8%af%bb%e4%ba%86-kafka-%e5%ae%98%e6%96%b9%e7%bd%91%e7%ab%99%e7%9a%84-introduction-%e7%9a%84%e7%ac%94%e8%ae%b0%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e9%98%85%e8%af%bb%e4%ba%86-kafka-%e5%ae%98%e6%96%b9%e7%bd%91%e7%ab%99%e7%9a%84-introduction-%e7%9a%84%e7%ac%94%e8%ae%b0%e3%80%82\/","name":"\u9605\u8bfb\u4e86 Kafka \u5b98\u65b9\u7f51\u7ad9\u7684 Introduction \u7684\u7b14\u8bb0 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2024-01-31T02:42:49+00:00","dateModified":"2024-04-28T18:17:38+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e9%98%85%e8%af%bb%e4%ba%86-kafka-%e5%ae%98%e6%96%b9%e7%bd%91%e7%ab%99%e7%9a%84-introduction-%e7%9a%84%e7%ac%94%e8%ae%b0%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e9%98%85%e8%af%bb%e4%ba%86-kafka-%e5%ae%98%e6%96%b9%e7%bd%91%e7%ab%99%e7%9a%84-introduction-%e7%9a%84%e7%ac%94%e8%ae%b0%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e9%98%85%e8%af%bb%e4%ba%86-kafka-%e5%ae%98%e6%96%b9%e7%bd%91%e7%ab%99%e7%9a%84-introduction-%e7%9a%84%e7%ac%94%e8%ae%b0%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u9605\u8bfb\u4e86 Kafka \u5b98\u65b9\u7f51\u7ad9\u7684 Introduction \u7684\u7b14\u8bb0"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6","name":"\u96c5, \u609f","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g","caption":"\u96c5, \u609f"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yawu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e9%98%85%e8%af%bb%e4%ba%86-kafka-%e5%ae%98%e6%96%b9%e7%bd%91%e7%ab%99%e7%9a%84-introduction-%e7%9a%84%e7%ac%94%e8%ae%b0%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/46807","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=46807"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/46807\/revisions"}],"predecessor-version":[{"id":74442,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/46807\/revisions\/74442"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=46807"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=46807"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=46807"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}