{"id":46844,"date":"2023-04-17T01:24:42","date_gmt":"2022-12-18T06:18:53","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e4%bd%95%e9%80%89%e6%8b%a9kafka%e9%9b%86%e7%be%a4%e4%b8%ad%e7%9a%84%e4%b8%bb%e9%a2%98-%e5%88%86%e5%8c%ba%e6%95%b0%e9%87%8f%ef%bc%9f\/"},"modified":"2024-04-29T23:51:36","modified_gmt":"2024-04-29T15:51:36","slug":"%e5%a6%82%e4%bd%95%e9%80%89%e6%8b%a9kafka%e9%9b%86%e7%be%a4%e4%b8%ad%e7%9a%84%e4%b8%bb%e9%a2%98-%e5%88%86%e5%8c%ba%e6%95%b0%e9%87%8f%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e4%bd%95%e9%80%89%e6%8b%a9kafka%e9%9b%86%e7%be%a4%e4%b8%ad%e7%9a%84%e4%b8%bb%e9%a2%98-%e5%88%86%e5%8c%ba%e6%95%b0%e9%87%8f%ef%bc%9f\/","title":{"rendered":"\u5982\u4f55\u9009\u62e9Kafka\u96c6\u7fa4\u4e2d\u7684\u4e3b\u9898\/\u5206\u533a\u6570\u91cf\uff1f"},"content":{"rendered":"<p>\u5728 Kafka \u96c6\u7fa4\u4e2d\u5982\u4f55\u9009\u62e9\u4e3b\u9898\/\u5206\u533a\u7684\u6570\u91cf\uff1f- \u6839\u636e Confluent \u7684\u7b14\u8bb0\uff0c\u8fd9\u7bc7\u6587\u7ae0\u662f\u5728 2015\/03\/12 \u53d1\u8868\u7684\uff0c\u7a0d\u5fae\u6709\u70b9\u9648\u65e7\u3002<\/p>\n<h2>\u589e\u52a0\u5206\u533a\u4f1a\u63d0\u9ad8\u541e\u5410\u91cf<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u6700\u521d\u306b\u7406\u89e3\u3057\u3066\u304a\u304f\u3079\u304d\u306a\u306e\u306f topic \u306e partition \u306f Kafka \u306b\u304a\u3051\u308b\u4e26\u5217\u51e6\u7406\u306e\u5358\u4f4d\u3067\u3042\u308b\u3068\u3044\u3046\u3053\u3068<\/ul>\n<\/li>\n<\/ul>\n<p>producer \u3068 broker \u306e\u4e21\u5074\u3067\u3001\u7570\u306a\u308b partition \u3078\u306e\u66f8\u304d\u8fbc\u307f\u306f\u5b8c\u5168\u306b\u4e26\u5217\u3057\u3066\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u308b<br \/>\n\u3088\u3063\u3066\u3001\u5727\u7e2e\u306e\u3088\u3046\u306a\u30b3\u30b9\u30c8\u306e\u9ad8\u3044\u64cd\u4f5c\u306f\u3001\u3088\u308a\u591a\u304f\u306e\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u30fb\u30ea\u30bd\u30fc\u30b9\u3092\u5229\u7528\u3057\u3046\u308b<br \/>\nconsumer \u306e\u5074\u3067\u306f\u3001Kafka \u306f\u3044\u3064\u3067\u3082\u5358\u4e00\u306e partition \u306e\u30c7\u30fc\u30bf\u3092 consumer \u306e\u30b9\u30ec\u30c3\u30c9\u306b\u9001\u308b<br \/>\n\u305d\u308c\u3086\u3048\u3001(consumer group \u5185\u3067\u306e) consumer \u306b\u304a\u3051\u308b\u4e26\u5217\u6027\u306e\u5ea6\u5408\u3044\u306f\u3001consume \u3055\u308c\u308b partition \u306e\u6570\u306b\u3088\u3063\u3066\u898f\u5b9a\u3055\u308c\u308b<br \/>\n\u305d\u308c\u3086\u3048\u3001\u4e00\u822c\u7684\u306b\u306f Kafka \u30af\u30e9\u30b9\u30bf\u5185\u306e partition \u306e\u6570\u304c\u591a\u3051\u308c\u3070\u591a\u3044\u307b\u3069\u3001\u9ad8\u3044\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u3092\u5b9f\u73fe\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/p>\n<p>partition \u306e\u6570\u3092\u9078\u3076\u305f\u3081\u306e\u30e9\u30d5\u306a\u516c\u5f0f\u306f\u3001\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u306b\u57fa\u3065\u3044\u305f\u3082\u306e\u3068\u306a\u308b<\/p>\n<p>1 partition \u3042\u305f\u308a\u306b\u3069\u308c\u3060\u3051\u306e production (\u4ee5\u4e0b p) \u3068 consumption (\u4ee5\u4e0b c) \u306e\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u304c\u5b9f\u73fe\u3067\u304d\u308b\u304b\u3092\u6e2c\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044<br \/>\n\u9054\u6210\u3057\u305f\u3044\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u3092 t \u3068\u3057\u3088\u3046<br \/>\n\u305d\u306e\u3068\u304d\u5c11\u306a\u304f\u3068\u3082 max(t\/p, t\/c) \u500b\u306e partition \u304c\u5fc5\u8981\u3068\u306a\u308b<br \/>\nproducer \u5074\u3067\u5b9f\u73fe\u3067\u304d\u308b partition \u3054\u3068\u306e\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u306f\u3001\u30d0\u30c3\u30c1\u30b5\u30a4\u30ba\u30fb\u5727\u7e2e\u30b3\u30fc\u30c7\u30c3\u30af\u30fbacknowledgement \u306e\u7a2e\u985e\u3001\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u56e0\u6570\u306b\u4f9d\u5b58\u3059\u308b<br \/>\n\u3057\u304b\u3057\u306a\u304c\u3089\u3001\u4e00\u822c\u7684\u306b\u306f\u3053\u306e\u30d9\u30f3\u30c1\u3067\u793a\u3055\u308c\u305f\u901a\u308a\u3001\u305f\u3060 1 \u3064\u306e partition \u3067\u6570 10 MB\/sec \u306e\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u3067 produce \u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b<br \/>\nconsumer \u306e\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u306f\u3001\u305f\u3044\u3066\u3044\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u4f9d\u5b58\u3059\u308b\u3001\u3068\u3044\u3046\u306e\u306f consumer \u306e\u30ed\u30b8\u30c3\u30af\u304c\u3069\u306e\u304f\u3089\u3044\u306e\u30b9\u30d4\u30fc\u30c9\u3067\u5404\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u51e6\u7406\u3067\u304d\u308b\u304b\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u304b\u3089\u3060<br \/>\n\u3088\u3063\u3066\u3001\u672c\u5f53\u306b\u8a08\u6e2c\u304c\u5fc5\u8981\u306a\u306e\u3060<\/p>\n<p>\u5f90\u3005\u306b partition \u306e\u6570\u3092\u5897\u3084\u3059\u3053\u3068\u306f\u53ef\u80fd\u3060\u304c\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u30ad\u30fc\u3064\u304d\u3067 produce \u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306b\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3060<\/p>\n<p>\u30ad\u30fc\u3064\u304d\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u767a\u884c\u3059\u308b\u3068\u304d\u3001Kafka \u306f\u30ad\u30fc\u306e\u30cf\u30c3\u30b7\u30e5\u306b\u3082\u3068\u3065\u304d\u30e1\u30c3\u30bb\u30fc\u30b8\u3092 partition \u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3059\u308b<br \/>\n\u3053\u308c\u306b\u3088\u3063\u3066\u540c\u3058\u30ad\u30fc\u304c\u3064\u3044\u305f\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u5fc5\u305a\u540c\u3058 partition \u306b\u8ee2\u9001\u3055\u308c\u308b\u3068\u3044\u3046\u4fdd\u8a3c\u304c\u63d0\u4f9b\u3055\u308c\u308b<br \/>\n\u3053\u306e\u4fdd\u8a3c\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u7a2e\u985e\u306b\u3088\u3063\u3066\u306f\u91cd\u8981\u3067\u3001\u3068\u3044\u3046\u306e\u306f 1 \u3064\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u5185\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u5fc5\u305a\u9806\u756a\u306b consumer \u3078\u914d\u9001\u3055\u308c\u308b\u304b\u3089\u3060<br \/>\n\u3082\u3057 partition \u306e\u6570\u304c\u5909\u308f\u308b\u3068\u3001\u305d\u306e\u3088\u3046\u306a\u4fdd\u8a3c\u306f\u6301\u7d9a\u3055\u308c\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u3060\u308d\u3046<br \/>\n\u3053\u306e\u554f\u984c\u3092\u56de\u907f\u3059\u308b\u305f\u3081\u306e\u3001\u4e00\u822c\u7684\u306a\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3068\u3057\u3066\u306f\u5c11\u3057\u3060\u3051\u4f59\u5206\u306b partition \u3092\u7528\u610f\u3057\u3066\u304a\u304f\u3053\u3068\u3060<br \/>\n\u57fa\u672c\u7684\u306b\u3001\u672a\u6765 (\u305f\u3068\u3048\u3070 1, 2 \u5e74\u5f8c) \u306b\u76ee\u6a19\u3068\u3059\u308b\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u306b\u57fa\u3065\u304d\u3001partition \u306e\u6570\u3092\u6c7a\u3081\u306a\u3055\u3044<br \/>\n\u6642\u304c\u305f\u3066\u3070\u3001\u30af\u30e9\u30b9\u30bf\u306b\u3088\u308a\u591a\u304f\u306e broker \u3092\u8ffd\u52a0\u3057\u3001\u6bd4\u4f8b\u7684\u306b\u65e2\u5b58\u306e partition \u306e\u4e00\u90e8\u3092\u65b0\u3057\u3044 broker \u306b\u79fb\u52d5\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b (\u6d3b\u6027\u3067\u53ef\u80fd)<br \/>\n\u3053\u306e\u3088\u3046\u306b\u3059\u308c\u3070\u3001\u30ad\u30fc\u304c\u5229\u7528\u3055\u308c\u3066\u3044\u308b\u3068\u304d\u3067\u3082\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30bb\u30de\u30f3\u30c6\u30a3\u30af\u30b9\u3092\u58ca\u3055\u305a\u306b\u3001\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u306e\u5897\u52a0\u306b\u8ffd\u3044\u3064\u304f\u3053\u3068\u304c\u3067\u304d\u308b<\/p>\n<h2>\u5982\u679c\u8981\u589e\u52a0\u5206\u533a\uff0c\u5219\u9700\u8981\u6253\u5f00\u66f4\u591a\u7684\u6587\u4ef6\u53e5\u67c4\u3002<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u5404 partition \u306f broker \u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u4e0a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>\u305d\u306e\u30ed\u30b0\u30fb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u3067\u3001\u30ed\u30b0\u30fb\u30bb\u30b0\u30e1\u30f3\u30c8\u3054\u3068\u306b 2 \u3064\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3059\u308b\u3060\u308d\u3046 (1 \u3064\u306f\u30a4\u30f3\u30c7\u30af\u30b9\u3067\u3001\u3082\u3046 1 \u3064\u306f\u5b9f\u969b\u306e\u30c7\u30fc\u30bf)<br \/>\n\u73fe\u5728\u3001kafka \u3067\u306f\u3001\u5404 broker \u306f\u5404\u30ed\u30b0\u30fb\u30bb\u30b0\u30e1\u30f3\u30c8\u306b\u3064\u3044\u3066\u30a4\u30f3\u30c7\u30af\u30b9\u30fb\u30d5\u30a1\u30a4\u30eb\u3068\u30c7\u30fc\u30bf\u30fb\u30d5\u30a1\u30a4\u30eb\u4e21\u65b9\u306e\u30d5\u30a1\u30a4\u30eb\u30cf\u30f3\u30c9\u30eb\u3092\u30aa\u30fc\u30d7\u30f3\u3059\u308b<br \/>\n\u3088\u3063\u3066\u3001partition \u304c\u5897\u3048\u308c\u3070\u5897\u3048\u308b\u307b\u3069\u3001\u4e0b\u5c64 OS \u3067\u8a2d\u5b9a\u3059\u3079\u304d\u30aa\u30fc\u30d7\u30f3\u3067\u304d\u308b\u30d5\u30a1\u30a4\u30eb\u30cf\u30f3\u30c9\u30eb\u306e\u4e0a\u9650\u304c\u5927\u304d\u304f\u306a\u308b<br \/>\n\u3053\u308c\u306f\u305f\u3044\u3066\u3044\u306f\u5358\u306a\u308b\u8a2d\u5b9a\u306e\u554f\u984c\u3060<br \/>\n\u308f\u308c\u308f\u308c\u306f\u672c\u756a\u74b0\u5883\u306e Kafka \u30af\u30e9\u30b9\u30bf\u304c broker \u3054\u3068\u306b 3 \u4e07\u306e\u30d5\u30a1\u30a4\u30eb\u30cf\u30f3\u30c9\u30eb\u3092\u958b\u3044\u305f\u4e0a\u4f53\u3067\u52d5\u3044\u3066\u3044\u308b\u306e\u3092\u898b\u305f\u3053\u3068\u304c\u3042\u308b<\/p>\n<h2>\u589e\u52a0\u5206\u533a\u53ef\u80fd\u4f1a\u964d\u4f4e\u53ef\u7528\u6027\u3002<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Kafka \u306f\u30af\u30e9\u30b9\u30bf\u5185\u30ec\u30d7\u30ea\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u304a\u308a\u3001\u3053\u308c\u306b\u3088\u308a\u9ad8\u53ef\u7528\u6027\u3068\u6301\u7d9a\u6027\u3092\u63d0\u4f9b\u3057\u3066\u3044\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>1 \u3064\u306e partition \u306f\u8907\u6570\u306e\u30ec\u30d7\u30ea\u30ab\u3092\u3082\u3064\u3053\u3068\u304c\u3067\u304d\u3001\u305d\u308c\u305e\u308c\u306e\u30ec\u30d7\u30ea\u30ab\u306f\u7570\u306a\u308b broker \u306b\u4fdd\u5b58\u3055\u308c\u308b<br \/>\n\u30ec\u30d7\u30ea\u30ab\u306e\u3046\u3061\u306e 1 \u3064\u304c leader \u306b\u4efb\u547d\u3055\u308c\u3001\u6b8b\u308a\u306e\u30ec\u30d7\u30ea\u30ab\u304c follower \u3068\u306a\u308b<br \/>\n\u5185\u90e8\u7684\u306b\u3001Kafka \u306f\u305d\u306e\u3088\u3046\u306a\u30ec\u30d7\u30ea\u30ab\u306e\u3059\u3079\u3066\u3092\u81ea\u52d5\u7684\u306b\u7ba1\u7406\u3057\u3001\u30ec\u30d7\u30ea\u30ab\u9593\u3067\u540c\u671f\u3055\u308c\u305f\u72b6\u614b\u3067\u3042\u308b\u3053\u3068\u3092\u4fdd\u8a3c\u3059\u308b<br \/>\nproducer \u3068 consumer \u306e\u4e21\u65b9\u304b\u3089\u306e partition \u306b\u5bfe\u3059\u308b\u30ea\u30af\u30a8\u30b9\u30c8\u306f\u3001leader \u304c\u51e6\u7406\u3059\u308b<br \/>\n1 \u4eba\u306e broker \u304c\u6b7b\u306c\u3068\u3001\u305d\u306e broker \u4e0a\u306b\u3042\u3063\u305f leader \u3067\u3042\u308b partition \u7fa4\u306f\u4e00\u6642\u7684\u306b\u5229\u7528\u4e0d\u53ef\u3068\u306a\u308b<br \/>\nKafka \u306f\u81ea\u52d5\u7684\u306b\u305d\u308c\u3089\u306e\u5229\u7528\u3067\u304d\u306a\u3044 partition \u306e leader \u3092\u3044\u304f\u3064\u304b\u306e\u4ed6\u306e\u30ec\u30d7\u30ea\u30ab\u306b\u79fb\u52d5\u3055\u305b\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5bfe\u3059\u308b\u51e6\u7406\u3092\u7d99\u7d9a\u3059\u308b<br \/>\n\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u306f\u3001controller \u306b\u4efb\u547d\u3055\u308c\u305f Kafka \u306e broker \u306e\u3046\u3061\u306e 1 \u4eba\u306b\u3088\u3063\u3066\u5b9f\u884c\u3055\u308c\u308b<br \/>\n\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u306b\u306f\u3001Zookeeper \u5185\u3067\u5f71\u97ff\u306e\u3042\u308b partition \u305d\u308c\u305e\u308c\u306b\u3064\u3044\u3066\u3044\u304f\u3089\u304b\u306e\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u66f8\u304d\u3059\u308b\u3053\u3068\u304c\u542b\u307e\u308c\u308b<br \/>\n\u73fe\u5728\u3001Zookeeper \u306b\u5bfe\u3059\u308b\u64cd\u4f5c\u306f controller \u306e\u4e2d\u3067\u76f4\u5217\u7684\u306b\u5b9f\u884c\u3055\u308c\u308b<\/p>\n<p>\u4e00\u822c\u7684\u306b broker \u304c\u30af\u30ea\u30fc\u30f3\u306b\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3055\u308c\u305f\u5834\u5408\u306b\u306f\u3001controller \u306f\u5148\u3092\u898b\u8d8a\u3057\u3066\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308b broker \u304b\u3089 leader \u3092 1 \u3064\u305a\u3064\u79fb\u52d5\u3055\u305b\u308b<\/p>\n<p>1 \u3064\u306e leader \u306e\u79fb\u52d5\u3060\u3051\u306a\u3089 2,3 \u30df\u30ea\u79d2\u3067\u7d42\u308f\u308b<br \/>\n\u3060\u304b\u3089\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u898b\u308b\u3068\u3001\u30af\u30ea\u30fc\u30f3\u306a broker \u306e\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u4e2d\u306b\u3001\u5229\u7528\u4e0d\u53ef\u3068\u306a\u308b\u306e\u306f\u307b\u3093\u306e\u5c11\u3057\u306e\u671f\u9593\u3060\u3051\u3060<\/p>\n<p>\u3057\u304b\u3057\u306a\u304c\u3089\u3001broker \u304c kill -9 \u7b49\u3067\u30a2\u30f3\u30af\u30ea\u30fc\u30f3\u306b\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3055\u308c\u305f\u5834\u5408\u3001\u89b3\u5bdf\u3055\u308c\u308b\u5229\u7528\u4e0d\u53ef\u306a\u671f\u9593\u306f\u3001partition \u306e\u6570\u306b\u6bd4\u4f8b\u3059\u308b<\/p>\n<p>broker \u304c\u5408\u8a08 2000 \u500b\u306e partition \u3092\u6301\u3061\u3001\u305d\u308c\u305e\u308c\u306e partition \u304c 2 \u3064\u306e\u30ec\u30d7\u30ea\u30ab\u3092\u6301\u3063\u3066\u3044\u308b\u3068\u3057\u3088\u3046<br \/>\n\u6982\u7b97\u3067\u3001\u3053\u306e broker \u306f\u3060\u3044\u305f\u3044 1000 \u500b\u306e partition \u306e leader \u3068\u306a\u308b<br \/>\n\u3053\u306e broker \u304c\u30a2\u30f3\u30af\u30ea\u30fc\u30f3\u306b\u843d\u3061\u305f\u3068\u304d\u3001\u305d\u308c\u3089 1000 \u500b\u306e partition \u306e\u3059\u3079\u3066\u304c\u307e\u3063\u305f\u304f\u540c\u6642\u306b\u5229\u7528\u4e0d\u53ef\u3068\u306a\u308b<br \/>\n1 \u3064\u306e partition \u306b\u3064\u304d\u65b0\u3057\u3044 leader \u3092\u9078\u51fa\u3059\u308b\u306e\u306b 5 \u30df\u30ea\u79d2\u304c\u304b\u304b\u308b\u3068\u3057\u3088\u3046<br \/>\n1000 \u500b\u5168\u90e8\u306e partition \u306b\u5bfe\u3057\u3066\u65b0\u3057\u3044 leader \u3092\u9078\u51fa\u3059\u308b\u306b\u306f\u6700\u5927 5 \u79d2\u304c\u304b\u304b\u308b\u3053\u3068\u306b\u306a\u308b<br \/>\n\u306a\u306e\u3067\u3001\u3044\u304f\u3064\u304b\u306e partition \u306b\u3068\u3063\u3066\u306f\u89b3\u5bdf\u3055\u308c\u308b\u5229\u7528\u4e0d\u53ef\u306a\u671f\u9593\u306f\u30015 \u79d2\u30d7\u30e9\u30b9\u969c\u5bb3\u691c\u51fa\u306b\u304b\u304b\u3063\u305f\u6642\u9593\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308b\u3060\u308d\u3046<\/p>\n<p>\u3082\u3057\u4e0d\u904b\u3060\u3063\u305f\u5834\u5408\u306b\u306f\u3001\u843d\u3061\u305f broker \u304c controller \u3060\u3063\u305f\u304b\u3082\u3057\u308c\u306a\u3044<\/p>\n<p>\u3053\u306e\u5834\u5408\u306b\u306f\u3001\u65b0\u3057\u3044 leader \u306e\u9078\u51fa\u306e\u30d7\u30ed\u30bb\u30b9\u306f\u3001controller \u304c\u65b0\u3057\u3044 broker \u3078\u30d5\u30a7\u30a4\u30eb\u30aa\u30fc\u30d0\u30fc\u3057\u3066\u304b\u3089\u3067\u306a\u3044\u3068\u306f\u3058\u307e\u3089\u306a\u3044<br \/>\ncontroller \u306e\u30d5\u30a7\u30a4\u30eb\u30aa\u30fc\u30d0\u30fc\u306f\u81ea\u52d5\u7684\u306b\u767a\u751f\u3059\u308b\u304c\u3001\u521d\u671f\u5316\u306e\u9593\u306b ZooKeeper \u304b\u3089\u5404 partition \u306b\u3064\u3044\u3066\u306e\u3044\u304f\u3064\u304b\u306e\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u8aad\u3080\u5fc5\u8981\u304c\u3042\u308b<br \/>\n\u305f\u3068\u3048\u3070\u3001\u3082\u3057 Kafka \u30af\u30e9\u30b9\u30bf\u5185\u306b 10,000 \u500b\u306e partition \u304c\u3042\u308a\u30011 partition \u3042\u305f\u308a Zookeeper \u304b\u3089\u306e\u30e1\u30bf\u30c7\u30fc\u30bf\u521d\u671f\u5316\u306b 2 \u30df\u30ea\u79d2\u304b\u304b\u308b\u3068\u3057\u305f\u3089\u3001\u5229\u7528\u4e0d\u53ef\u306e\u671f\u9593\u304c\u3055\u3089\u306b 20 \u79d2\u5897\u3048\u308b\u3053\u3068\u306b\u306a\u308b\u3060\u308d\u3046<\/p>\n<p>\u4e00\u822c\u7684\u306b\u3001\u30a2\u30f3\u30af\u30ea\u30fc\u30f3\u306b\u843d\u3061\u308b\u306e\u306f\u307e\u308c\u3067\u3042\u308b<\/p>\n<p>\u3057\u304b\u3057\u3001\u3053\u306e\u3088\u3046\u306a\u30ec\u30a2\u30b1\u30fc\u30b9\u3067\u306e\u53ef\u7528\u6027\u3092\u6c17\u306b\u304b\u3051\u308b\u306e\u3060\u3068\u3057\u305f\u3089\u3001\u304a\u305d\u3089\u304f broker \u3054\u3068\u306e partition \u306e\u6570\u306f 2\uff5e4 \u5343\u7a0b\u5ea6\u3001\u30af\u30e9\u30b9\u30bf\u5185\u306e\u5168 partition \u6570\u306f\u6570\u4e07\u7a0b\u5ea6\u306b\u5236\u9650\u3057\u305f\u307b\u3046\u304c\u3088\u3044<\/p>\n<h2>\u5982\u679c\u589e\u52a0\u5206\u533a\uff0c\u7aef\u5230\u7aef\u7684\u5ef6\u8fdf\u4f1a\u589e\u52a0\u3002<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Kafka \u306b\u304a\u3051\u308b end-to-end \u306e\u30ec\u30a4\u30c6\u30f3\u30b7\u3068\u3044\u3046\u3082\u306e\u306f\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u304c producer \u306b\u3088\u3063\u3066\u767a\u884c\u3055\u308c\u3066\u304b\u3089 consumer \u306b\u3088\u3063\u3066\u8aad\u307e\u308c\u308b\u307e\u3067\u306e\u6642\u9593\u3068\u5b9a\u7fa9\u3055\u308c\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>Kafka \u306f\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u30b3\u30df\u30c3\u30c8\u3055\u308c\u305f\u3042\u3068\u3001\u3064\u307e\u308a\u540c\u671f\u4e2d\u306e\u30ec\u30d7\u30ea\u30ab\u3059\u3079\u3066\u306b\u8907\u88fd\u3055\u308c\u305f\u3042\u3068\u3067\u3001\u305d\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092 consumer \u306b\u9732\u51fa\u3059\u308b<br \/>\n\u3088\u3063\u3066\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30b3\u30df\u30c3\u30c8\u3059\u308b\u6642\u9593\u304c end-to-end \u306e\u30ec\u30a4\u30c6\u30f3\u30b7\u306e\u3046\u3061\u3067\u5927\u304d\u306a\u5272\u5408\u3092\u5360\u3081\u308b<br \/>\n\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001Kafka \u306e broker \u306f\u3001\u307b\u304b\u306e broker \u304b\u3089\u30c7\u30fc\u30bf\u3092\u8907\u88fd\u3059\u308b\u306e\u306b 1 \u3064\u306e\u30b9\u30ec\u30c3\u30c9\u3057\u304b\u4f7f\u308f\u306a\u3044 (2 \u3064\u306e broker \u306e\u9593\u3067\u30ec\u30d7\u30ea\u30ab\u304c\u5171\u6709\u3055\u308c\u308b\u3059\u3079\u3066\u306e partition \u306b\u3064\u3044\u3066 1 \u30b9\u30ec\u30c3\u30c9\u3057\u304b\u4f7f\u308f\u306a\u3044)<br \/>\n\u308f\u308c\u308f\u308c\u306e\u5b9f\u9a13\u3067\u306f\u30011 \u4eba\u306e broker \u304b\u3089\u5225\u306e broker \u3078 1000 \u500b\u306e partition \u3092\u8907\u88fd\u3059\u308b\u306e\u306b\u300120 \u30df\u30ea\u79d2\u306e\u30ec\u30a4\u30c6\u30f3\u30b7\u304c\u8ffd\u52a0\u3067\u304b\u304b\u308a\u3001\u3053\u308c\u306f end-to-end \u306e\u30ec\u30a4\u30c6\u30f3\u30b7\u304c\u5c11\u306a\u304f\u3068\u3082 20 \u30df\u30ea\u79d2\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u5506\u3057\u3066\u3044\u308b<br \/>\n\u3053\u308c\u306f\u3044\u304f\u3064\u304b\u306e\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30fb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u3068\u3063\u3066\u306f\u9ad8\u3059\u304e\u308b\u304b\u3082\u3057\u308c\u306a\u3044<\/p>\n<p>\u3053\u306e\u554f\u984c\u306f\u30af\u30e9\u30b9\u30bf\u3092\u3088\u308a\u5927\u304d\u304f\u3059\u308b\u3053\u3068\u3067\u56de\u907f\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u307b\u3057\u3044<\/p>\n<p>\u305f\u3068\u3048\u3070\u3001\u540c\u3058 Kafka \u30af\u30e9\u30b9\u30bf\u306e\u4e2d\u3067\u30011 \u3064\u306e\u30d6\u30ed\u30fc\u30ab\u30fc\u4e0a\u306b 1000 partition leader \u304c\u3044\u3066\u300110 \u4eba\u306e\u307b\u304b\u306e broker \u304c\u3044\u308b\u3068\u3057\u3088\u3046<br \/>\n\u6b8b\u308a\u306e 10 \u30d6\u30ed\u30fc\u30ab\u30fc\u306e\u305d\u308c\u305e\u308c\u306f\u5e73\u5747\u3059\u308b\u3068\u6700\u521d\u306e broker \u304b\u3089 100 partition \u3092\u53d6\u3063\u3066\u304f\u308c\u3070\u3044\u3044\u3060\u3051\u3060<br \/>\n\u305d\u308c\u3086\u3048\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30b3\u30df\u30c3\u30c8\u3059\u308b\u3053\u3068\u306b\u3088\u308b\u8ffd\u52a0\u30ec\u30a4\u30c6\u30f3\u30b7\u306f\u6570 10 \u30df\u30ea\u79d2\u3067\u306f\u306a\u304f\u6570\u30df\u30ea\u79d2\u3068\u306a\u308b<\/p>\n<p>\u5927\u4f53\u306e\u76ee\u5b89\u3067\u8a00\u3046\u3068\u3001\u3082\u3057\u30ec\u30a4\u30c6\u30f3\u30b7\u3092\u5fc3\u914d\u3057\u3066\u3044\u308b\u306a\u3089\u3001broker \u3054\u3068\u306e partition \u306e\u6570\u3092 100 * b * r \u306b\u5236\u9650\u3059\u308b\u306e\u304c\u3088\u3044\u3060\u308d\u3046 (b \u304c Kafka \u30af\u30e9\u30b9\u30bf\u5185\u306e broker \u306e\u6570\u3001r \u304c\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u56e0\u6570)<\/p>\n<h2>\u589e\u52a0\u5206\u533a\u53ef\u80fd\u4f1a\u5bfc\u81f4\u5ba2\u6237\u7aef\u9700\u8981\u66f4\u591a\u7684\u5185\u5b58<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Confluent Platform 1.0 \u3082\u642d\u8f09\u3057\u305f\u3082\u3063\u3068\u3082\u6700\u8fd1\u306e\u30ea\u30ea\u30fc\u30b9\u3067\u3042\u308b 0.8.2 \u3067\u3001\u308f\u308c\u308f\u308c\u306f\u3088\u308a\u52b9\u7387\u7684\u306a Java producer \u3092\u958b\u767a\u3057\u305f<\/ul>\n<\/li>\n<\/ul>\n<p>\u65b0\u3057\u3044 producer \u306e\u3088\u3044\u6a5f\u80fd\u306e 1 \u3064\u306f\u3001\u5165\u3063\u3066\u304f\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30d0\u30c3\u30d5\u30a1\u3059\u308b\u969b\u306b\u4f7f\u308f\u308c\u308b\u30e1\u30e2\u30ea\u306e\u91cf\u306b\u3064\u3044\u3066\u30e6\u30fc\u30b6\u30fc\u304c\u4e0a\u9650\u3092\u8a2d\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u3060<br \/>\n\u5185\u90e8\u7684\u306b\u306f\u3001producer \u306f partition \u3054\u3068\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30d0\u30c3\u30d5\u30a1\u3059\u308b<br \/>\n\u5341\u5206\u306a\u30c7\u30fc\u30bf\u304c\u84c4\u7a4d\u3059\u308b\u304b\u5341\u5206\u306a\u6642\u9593\u304c\u7d4c\u904e\u3059\u308b\u3068\u3001\u84c4\u7a4d\u3055\u308c\u305f\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u30d0\u30c3\u30d5\u30a1\u304b\u3089\u524a\u9664\u3055\u308c broker \u3078\u3068\u9001\u4fe1\u3055\u308c\u308b<\/p>\n<p>\u3082\u3057 partition \u306e\u6570\u3092\u5897\u3084\u3059\u306a\u3089\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u306f producer \u306e\u4e2d\u306e\u3088\u308a\u591a\u304f\u306e partition \u306b\u84c4\u7a4d\u3055\u308c\u308b\u3060\u308d\u3046<\/p>\n<p>\u96c6\u7d04\u3055\u308c\u305f\u5229\u7528\u30e1\u30e2\u30ea\u306e\u91cf\u306f\u8a2d\u5b9a\u3057\u305f\u30e1\u30e2\u30ea\u306e\u4e0a\u9650\u3092\u8d85\u3048\u3066\u3057\u307e\u3046\u304b\u3082\u3057\u308c\u306a\u3044<br \/>\n\u3053\u308c\u304c\u8d77\u304d\u308b\u3068\u304d\u3001producer \u306f\u30d6\u30ed\u30c3\u30af\u3059\u308b\u304b\u3069\u3093\u306a\u65b0\u3057\u3044\u30e1\u30c3\u30bb\u30fc\u30b8\u3082\u6368\u3066\u306a\u3051\u308c\u3070\u306a\u3089\u305a\u3001\u305d\u306e\u3069\u3061\u3089\u3082\u7406\u60f3\u7684\u3067\u306f\u306a\u3044<br \/>\n\u3053\u308c\u304c\u8d77\u3053\u308b\u306e\u3092\u9632\u3050\u305f\u3081\u306b\u3001 producer \u306e\u30e1\u30e2\u30ea\u30b5\u30a4\u30ba\u3092\u3088\u308a\u5927\u304d\u304f\u518d\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3060\u308d\u3046<\/p>\n<p>\u5927\u307e\u304b\u306b\u898b\u7a4d\u3082\u308b\u3068\u3001\u3088\u3044\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u3092\u5b9f\u73fe\u3059\u308b\u306b\u306f\u3001producer \u306e\u4e2d\u3067 produce \u3055\u308c\u3088\u3046\u3068\u3057\u3066\u3044\u308b partition \u3054\u3068\u306b\u5c11\u306a\u304f\u3068\u3082\u6570 10 KB \u3092\u5272\u308a\u5f53\u3066\u3001\u3082\u3057 partition \u306e\u6570\u304c\u975e\u5e38\u306b\u305f\u304f\u3055\u3093\u5897\u3048\u308b\u306a\u3089\u3001\u5408\u8a08\u306e\u30e1\u30e2\u30ea\u91cf\u3092\u8abf\u6574\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b<br \/>\n\u4f3c\u305f\u3088\u3046\u306a\u554f\u984c\u304c consumer \u306b\u3082\u540c\u69d8\u306b\u5b58\u5728\u3059\u308b<\/p>\n<p>consumer \u306f partition \u3054\u3068\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u30d0\u30c3\u30c1\u3092\u53d6\u308a\u306b\u884c\u304f<br \/>\nconsumer \u304c consume \u3059\u308b partition \u304c\u5897\u3048\u308c\u3070\u5897\u3048\u308b\u307b\u3069\u3001\u3088\u308a\u591a\u304f\u306e\u30e1\u30e2\u30ea\u304c\u5fc5\u8981\u3068\u306a\u308b<br \/>\n\u3057\u304b\u3057\u306a\u304c\u3089\u3001\u3053\u308c\u306f\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u306a\u3044 consumer \u306e\u307f\u306b\u5b58\u5728\u3059\u308b\u554f\u984c\u306b\u3059\u304e\u306a\u3044<\/p>\n<h2>\u603b\u7ed3<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u4e00\u822c\u7684\u306b\u3001Kafka \u30af\u30e9\u30b9\u30bf\u5185\u3067 partition \u3092\u5897\u3084\u3059\u3068\u3088\u308a\u9ad8\u3044\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u304c\u5f97\u3089\u308c\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>\u3057\u304b\u3057\u306a\u304c\u3089\u3001\u5168\u4f53\u307e\u305f\u306f broker \u3054\u3068\u306e partition \u6570\u3092\u5897\u3084\u3057\u3059\u304e\u308b\u3068\u3001\u53ef\u7528\u6027\u3084\u30ec\u30a4\u30c6\u30f3\u30b7\u306e\u3088\u3046\u306a\u9805\u76ee\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3053\u3068\u306b\u6c17\u3092\u3064\u3051\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044<br \/>\n\u5c06\u6765\u7684\u306b\u306f\u3001\u3053\u308c\u3089\u306e\u5236\u7d04\u306e\u3044\u304f\u3064\u304b\u3092\u6539\u5584\u3057\u3001partition \u306e\u6570\u3068\u3044\u3046\u70b9\u3067 Kafka \u3092\u3088\u308a\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u306b\u3057\u3088\u3046\u3068\u8a08\u753b\u3057\u3066\u3044\u308b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 Kafka \u96c6\u7fa4\u4e2d\u5982\u4f55\u9009\u62e9\u4e3b\u9898\/\u5206\u533a\u7684\u6570\u91cf\uff1f- \u6839\u636e Confluent \u7684\u7b14\u8bb0\uff0c\u8fd9\u7bc7\u6587\u7ae0\u662f\u5728 2015\/ [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-46844","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>\u5982\u4f55\u9009\u62e9Kafka\u96c6\u7fa4\u4e2d\u7684\u4e3b\u9898\/\u5206\u533a\u6570\u91cf\uff1f - 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\/\u5982\u4f55\u9009\u62e9kafka\u96c6\u7fa4\u4e2d\u7684\u4e3b\u9898-\u5206\u533a\u6570\u91cf\uff1f\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u9009\u62e9Kafka\u96c6\u7fa4\u4e2d\u7684\u4e3b\u9898\/\u5206\u533a\u6570\u91cf\uff1f\" \/>\n<meta property=\"og:description\" content=\"\u5728 Kafka \u96c6\u7fa4\u4e2d\u5982\u4f55\u9009\u62e9\u4e3b\u9898\/\u5206\u533a\u7684\u6570\u91cf\uff1f- \u6839\u636e Confluent \u7684\u7b14\u8bb0\uff0c\u8fd9\u7bc7\u6587\u7ae0\u662f\u5728 2015\/ [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5982\u4f55\u9009\u62e9kafka\u96c6\u7fa4\u4e2d\u7684\u4e3b\u9898-\u5206\u533a\u6570\u91cf\uff1f\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-18T06:18:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T15:51:36+00:00\" \/>\n<meta name=\"author\" content=\"\u65b0, \u97f5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u65b0, \u97f5\" \/>\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\/%e5%a6%82%e4%bd%95%e9%80%89%e6%8b%a9kafka%e9%9b%86%e7%be%a4%e4%b8%ad%e7%9a%84%e4%b8%bb%e9%a2%98-%e5%88%86%e5%8c%ba%e6%95%b0%e9%87%8f%ef%bc%9f\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e4%bd%95%e9%80%89%e6%8b%a9kafka%e9%9b%86%e7%be%a4%e4%b8%ad%e7%9a%84%e4%b8%bb%e9%a2%98-%e5%88%86%e5%8c%ba%e6%95%b0%e9%87%8f%ef%bc%9f\/\",\"name\":\"\u5982\u4f55\u9009\u62e9Kafka\u96c6\u7fa4\u4e2d\u7684\u4e3b\u9898\/\u5206\u533a\u6570\u91cf\uff1f - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2022-12-18T06:18:53+00:00\",\"dateModified\":\"2024-04-29T15:51:36+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e4%bd%95%e9%80%89%e6%8b%a9kafka%e9%9b%86%e7%be%a4%e4%b8%ad%e7%9a%84%e4%b8%bb%e9%a2%98-%e5%88%86%e5%8c%ba%e6%95%b0%e9%87%8f%ef%bc%9f\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e4%bd%95%e9%80%89%e6%8b%a9kafka%e9%9b%86%e7%be%a4%e4%b8%ad%e7%9a%84%e4%b8%bb%e9%a2%98-%e5%88%86%e5%8c%ba%e6%95%b0%e9%87%8f%ef%bc%9f\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e4%bd%95%e9%80%89%e6%8b%a9kafka%e9%9b%86%e7%be%a4%e4%b8%ad%e7%9a%84%e4%b8%bb%e9%a2%98-%e5%88%86%e5%8c%ba%e6%95%b0%e9%87%8f%ef%bc%9f\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u9009\u62e9Kafka\u96c6\u7fa4\u4e2d\u7684\u4e3b\u9898\/\u5206\u533a\u6570\u91cf\uff1f\"}]},{\"@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\/4ba4019495123db3038fd0809e6959c9\",\"name\":\"\u65b0, \u97f5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g\",\"caption\":\"\u65b0, \u97f5\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunxin\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e4%bd%95%e9%80%89%e6%8b%a9kafka%e9%9b%86%e7%be%a4%e4%b8%ad%e7%9a%84%e4%b8%bb%e9%a2%98-%e5%88%86%e5%8c%ba%e6%95%b0%e9%87%8f%ef%bc%9f\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u9009\u62e9Kafka\u96c6\u7fa4\u4e2d\u7684\u4e3b\u9898\/\u5206\u533a\u6570\u91cf\uff1f - 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\/\u5982\u4f55\u9009\u62e9kafka\u96c6\u7fa4\u4e2d\u7684\u4e3b\u9898-\u5206\u533a\u6570\u91cf\uff1f\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u9009\u62e9Kafka\u96c6\u7fa4\u4e2d\u7684\u4e3b\u9898\/\u5206\u533a\u6570\u91cf\uff1f","og_description":"\u5728 Kafka \u96c6\u7fa4\u4e2d\u5982\u4f55\u9009\u62e9\u4e3b\u9898\/\u5206\u533a\u7684\u6570\u91cf\uff1f- \u6839\u636e Confluent \u7684\u7b14\u8bb0\uff0c\u8fd9\u7bc7\u6587\u7ae0\u662f\u5728 2015\/ [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5982\u4f55\u9009\u62e9kafka\u96c6\u7fa4\u4e2d\u7684\u4e3b\u9898-\u5206\u533a\u6570\u91cf\uff1f\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-12-18T06:18:53+00:00","article_modified_time":"2024-04-29T15:51:36+00:00","author":"\u65b0, \u97f5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u65b0, \u97f5","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e4%bd%95%e9%80%89%e6%8b%a9kafka%e9%9b%86%e7%be%a4%e4%b8%ad%e7%9a%84%e4%b8%bb%e9%a2%98-%e5%88%86%e5%8c%ba%e6%95%b0%e9%87%8f%ef%bc%9f\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e4%bd%95%e9%80%89%e6%8b%a9kafka%e9%9b%86%e7%be%a4%e4%b8%ad%e7%9a%84%e4%b8%bb%e9%a2%98-%e5%88%86%e5%8c%ba%e6%95%b0%e9%87%8f%ef%bc%9f\/","name":"\u5982\u4f55\u9009\u62e9Kafka\u96c6\u7fa4\u4e2d\u7684\u4e3b\u9898\/\u5206\u533a\u6570\u91cf\uff1f - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2022-12-18T06:18:53+00:00","dateModified":"2024-04-29T15:51:36+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e4%bd%95%e9%80%89%e6%8b%a9kafka%e9%9b%86%e7%be%a4%e4%b8%ad%e7%9a%84%e4%b8%bb%e9%a2%98-%e5%88%86%e5%8c%ba%e6%95%b0%e9%87%8f%ef%bc%9f\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e4%bd%95%e9%80%89%e6%8b%a9kafka%e9%9b%86%e7%be%a4%e4%b8%ad%e7%9a%84%e4%b8%bb%e9%a2%98-%e5%88%86%e5%8c%ba%e6%95%b0%e9%87%8f%ef%bc%9f\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e4%bd%95%e9%80%89%e6%8b%a9kafka%e9%9b%86%e7%be%a4%e4%b8%ad%e7%9a%84%e4%b8%bb%e9%a2%98-%e5%88%86%e5%8c%ba%e6%95%b0%e9%87%8f%ef%bc%9f\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u9009\u62e9Kafka\u96c6\u7fa4\u4e2d\u7684\u4e3b\u9898\/\u5206\u533a\u6570\u91cf\uff1f"}]},{"@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\/4ba4019495123db3038fd0809e6959c9","name":"\u65b0, \u97f5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g","caption":"\u65b0, \u97f5"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunxin\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%a6%82%e4%bd%95%e9%80%89%e6%8b%a9kafka%e9%9b%86%e7%be%a4%e4%b8%ad%e7%9a%84%e4%b8%bb%e9%a2%98-%e5%88%86%e5%8c%ba%e6%95%b0%e9%87%8f%ef%bc%9f\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/46844","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\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=46844"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/46844\/revisions"}],"predecessor-version":[{"id":88400,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/46844\/revisions\/88400"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=46844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=46844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=46844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}