{"rsdb":{"rid":"309150","subhead":"","postdate":"0","aid":"224312","fid":"120","uid":"1","topic":"1","content":"
\n \n \n
\n

\u4e00\u3001Kafka\u5b89\u88c5<\/span><\/h1>\n\n

\u4e0b\u8f7d\u5b89\u88c5Kafka\u6781\u5176\u7b80\u5355\uff0c\u53ea\u9700\u8981\u5c06\u4e0b\u8f7d\u7684Kafka\u5b89\u88c5\u5305\u89e3\u538b\u5230\u76f8\u5e94\u7684\u76ee\u5f55\u5373\u53ef\u3002\u8fdb\u5165\u5b98\u65b9\u7f51\u7ad9 http:\/\/kafka .apache.org\/downloads \u4e0b\u8f7d\u5f53\u524d\u6700\u65b0\u7248\u672cKafka, Kafka\u5b89\u88c5\u5305\u5e76\u6ca1\u6709\u533a\u5206Windows\u5b89\u88c5\u5305\u8fd8\u662f Linux \u5b89\u88c5\u5305\uff0c\u4ec5\u5728bin\u5f55\u4e0b\u5c06Windows\u73af\u5883\u6267\u884cKafka\u7684\u76f8\u5173\u811a\u672c\u653e\u5728\/bin\/windows \u76ee\u5f55\u4e0b\u3002\u5728Windows\u5e73\u53f0\uff0c\u8bf7\u4f7f\u7528 bin\\windows\\ \u800c\u4e0d\u662fbin\/, \u5e76\u5c06\u811a\u672c\u6269\u5c55\u540d\u6539\u4e3a.bat\u3002<\/p>\n\n

\u4e0b\u8f7d 1.0.0\u7248\u672c\u5e76\u89e3\u538b\u7f29\u3002<\/p>\n\n

\n

> tar -xzf kafka_2.11-1.0.0.tgz<\/p>\n\n

> cd kafka_2.11-1.0.0<\/p>\n<\/blockquote>\n\n

\u5176\u4e2dkafka_2.11\u4ee3\u8868scala\u7248\u672c\uff0c1.0.0\u4ee3\u8868kafka\u7248\u672c\u3002<\/p>\n\n


\u4e8c\u3001\u5feb\u901f\u542f\u52a8<\/span><\/h1>\n\n

2.1 \u542f\u52a8\u670d\u52a1<\/span><\/h3>\n\n

Kafka \u4f7f\u7528 ZooKeeper\uff0c\u5982\u679c\u4f60\u8fd8\u6ca1\u6709ZooKeeper\u670d\u52a1\u5668\uff0c\u4f60\u9700\u8981\u5148\u542f\u52a8\u4e00\u4e2aZooKeeper\u670d\u52a1\u5668\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u4e0ekafka\u6253\u5305\u5728\u4e00\u8d77\u7684\u4fbf\u6377\u811a\u672c\u6765\u5feb\u901f\u7b80\u5355\u5730\u521b\u5efa\u4e00\u4e2a\u5355\u8282\u70b9ZooKeeper\u5b9e\u4f8b\u3002<\/p>\n\n

\n> bin\/zookeeper-server-start.sh config\/zookeeper.properties\n[2013-04-22 15:01:37,495] INFO Reading configuration from: config\/zookeeper.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig)\n...<\/code><\/pre>\n\n

\u73b0\u5728\u542f\u52a8Kafka\u670d\u52a1\u5668\uff1a<\/p>\n\n

\n> bin\/kafka-server-start.sh config\/server.properties\n[2013-04-22 15:01:47,028] INFO Verifying properties (kafka.utils.VerifiableProperties)\n[2013-04-22 15:01:47,051] INFO Property socket.send.buffer.bytes is overridden to 1048576 (kafka.utils.VerifiableProperties)\n...<\/code><\/pre>\n\n

\u4e0a\u8bc9\u547d\u4ee4\u662f\u5728\u524d\u53f0\u542f\u52a8kafka\uff0c\u4e5f\u5c31\u662f\u542f\u52a8\u670d\u52a1\u540e\u8be5cmd\u7a97\u53e3\u5c31\u4e0d\u80fd\u5e72\u5176\u4ed6\u4e8b\u4e86\u3002kafka\u540e\u53f0\u542f\u52a8\u7684\u547d\u4ee4 \uff1a<\/p>\n\n

\n

kafka-server-start.sh ..\/config\/server.properties 1>\/dev\/null 2>&1 &<\/span><\/p>\n\n

kafka-server-start.sh -daemon .. \/config\/server . properties<\/span><\/p>\n<\/blockquote>\n\n

2.2 \u521b\u5efa\u4e00\u4e2atopic<\/span><\/h3>\n\n

\u8ba9\u6211\u4eec\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a\u201ctest\u201d\u7684topic\uff0c\u5b83\u6709\u4e00\u4e2a\u5206\u533a\u548c\u4e00\u4e2a\u526f\u672c\uff1a<\/p>\n\n

\n> bin\/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic test<\/code><\/pre>\n\n

\u73b0\u5728\u6211\u4eec\u53ef\u4ee5\u8fd0\u884clist\uff08\u5217\u8868\uff09\u547d\u4ee4\u6765\u67e5\u770b\u8fd9\u4e2atopic\uff1a<\/p>\n\n

\n> bin\/kafka-topics.sh --list --zookeeper localhost:2181\ntest<\/code><\/pre>\n\n

\u6216\u8005\uff0c\u60a8\u4e5f\u53ef\u5c06\u4ee3\u7406\u914d\u7f6e\u4e3a\uff1a\u5728\u53d1\u5e03\u7684topic\u4e0d\u5b58\u5728\u65f6\uff0c\u81ea\u52a8\u521b\u5efatopic\uff0c\u800c\u4e0d\u662f\u624b\u52a8\u521b\u5efa\u3002<\/p>\n\n

\u82e5\u4ee3\u7406\u8bbe\u7f6e\u4e86 auto .create. topics enable=true \uff0c\u8be5\u914d\u7f6e\u9ed8\u8ba4\u503c\u4e3a true \u8fd9\u6837\u5f53\u751f\u4ea7\u8005\u5411\u4e00\u4e2a\u8fd8\u672a\u521b\u5efa\u7684\u4e3b\u9898\u53d1\u9001\u6d88\u606f\u65f6\uff0c\u4f1a\u81ea\u52a8\u521b\u5efa\u4e00\u4e2a\u62e5\u6709$ {num.partitions \uff5d\u4e2a\u5206\u533a\u548c$\uff5bdefault. replication.factor\uff5d\u4e2a\u526f\u672c\u7684\u4e3b\u9898\u3002<\/p>\n\n

2.3\u53d1\u9001\u4e00\u4e9b\u6d88\u606f<\/span><\/h3>\n\n

Kafka\u81ea\u5e26\u4e00\u4e2a\u547d\u4ee4\u884c\u5ba2\u6237\u7aef\uff0c\u5b83\u4ece\u6587\u4ef6\u6216\u6807\u51c6\u8f93\u5165\u4e2d\u83b7\u53d6\u8f93\u5165\uff0c\u5e76\u5c06\u5176\u4f5c\u4e3amessage\uff08\u6d88\u606f\uff09\u53d1\u9001\u5230Kafka\u96c6\u7fa4\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u6bcf\u884c\u5c06\u4f5c\u4e3a\u5355\u72ec\u7684message\u53d1\u9001\u3002<\/p>\n\n

\u8fd0\u884c producer\uff0c\u7136\u540e\u5728\u63a7\u5236\u53f0\u8f93\u5165\u4e00\u4e9b\u6d88\u606f\u4ee5\u53d1\u9001\u5230\u670d\u52a1\u5668<\/p>\n\n

\n> bin\/kafka-console-producer.sh --broker-list localhost:9092 --topic test\nThis is a message\nThis is another message<\/code><\/pre>\n\n

2.4\u542f\u52a8\u4e00\u4e2a consumer<\/span><\/h3>\n\n

Kafka \u8fd8\u6709\u4e00\u4e2a\u547d\u4ee4\u884cconsumer\uff08\u6d88\u8d39\u8005\uff09\uff0c\u5c06\u6d88\u606f\u8f6c\u50a8\u5230\u6807\u51c6\u8f93\u51fa\u3002<\/p>\n\n

\n> bin\/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test --from-beginning\nThis is a message\nThis is another message<\/code><\/pre>\n\n

\u5982\u679c\u60a8\u5c06\u4e0a\u8ff0\u547d\u4ee4\u5728\u4e0d\u540c\u7684\u7ec8\u7aef\u4e2d\u8fd0\u884c\uff0c\u90a3\u4e48\u73b0\u5728\u5c31\u53ef\u4ee5\u5c06\u6d88\u606f\u8f93\u5165\u5230\u751f\u4ea7\u8005\u7ec8\u7aef\u4e2d\uff0c\u5e76\u5c06\u5b83\u4eec\u5728\u6d88\u8d39\u7ec8\u7aef\u4e2d\u663e\u793a\u51fa\u6765\u3002<\/p>\n\n

\u6240\u6709\u7684\u547d\u4ee4\u884c\u5de5\u5177\u90fd\u6709\u5176\u4ed6\u9009\u9879\uff1b\u8fd0\u884c\u4e0d\u5e26\u4efb\u4f55\u53c2\u6570\u7684\u547d\u4ee4\u5c06\u663e\u793a\u66f4\u52a0\u8be6\u7ec6\u7684\u4f7f\u7528\u4fe1\u606f\u3002<\/p>\n\n


\u4e09\u3001\u4f2a\u5206\u5e03\u5f0f\u73af\u5883\u90e8\u7f72\uff08\u5355\u673a\u591a\u4ee3\u7406\u96c6\u7fa4\uff09<\/span><\/h1>\n\n

KafkaServer\u542f\u52a8\u65f6\u9700\u8981\u52a0\u8f7d\u4e00\u4e2a\u7528\u4e8eKafkaServer\u521d\u59cb\u5316\u76f8\u5173\u914d\u7f6e\u7684 server.properties\u6587\u4ef6\uff0c\u5f53\u7136\u6587\u4ef6\u540d\u53ef\u4ee5\u4efb\u610f\uff0cserver. properties\u5bf9\u5e94 Kafk:aServer\u5b9e\u4f8b \uff0cKafka \u4f2a\u5206\u5e03\u5f0f\u5c31\u662f\u5728\u4e00\u53f0\u673a\u5668\u4e0a\u542f\u52a8\u591a\u4e2aKafkaServer \u6765\u8fbe\u5230\u591a\u4ee3\u7406\u7684\u6548\u679c\uff0c\u56e0\u6b64\u8981\u4fdd\u8bc1 broker.id\u3001port\u3001log\u5728\u540c\u4e00\u53f0\u673a\u5668\u7684\u591a\u4e2aserver. properities\u4e2d\u552f\u4e00\u3002<\/p>\n\n

\u9996\u5148\uff0c\u4e3a\u6bcf\u4e2a\u4ee3\u7406\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e\u6587\u4ef6 (\u5728Windows\u4e0a\u4f7f\u7528copy \u547d\u4ee4\u6765\u4ee3\u66ff)\uff1a<\/p>\n\n

\n> cp config\/server.properties config\/server-1.properties\n> cp config\/server.properties config\/server-2.properties<\/code><\/pre>\n\n

\u73b0\u5728\u7f16\u8f91\u8fd9\u4e9b\u65b0\u6587\u4ef6\u5e76\u8bbe\u7f6e\u5982\u4e0b\u5c5e\u6027\uff1a<\/p>\n\n

\nconfig\/server-1.properties:\n    broker.id=1\n    listeners=PLAINTEXT:\/\/:9093\n    log.dir=\/tmp\/kafka-logs-1\n \nconfig\/server-2.properties:\n    broker.id=2\n    listeners=PLAINTEXT:\/\/:9094\n    log.dir=\/tmp\/kafka-logs-2<\/code><\/pre>\n\n

broker.id\u5c5e\u6027\u662f\u96c6\u7fa4\u4e2d\u6bcf\u4e2a\u8282\u70b9\u7684\u540d\u79f0\uff0c\u8fd9\u4e00\u540d\u79f0\u662f\u552f\u4e00\u4e14\u6c38\u4e45\u7684\u3002\u6211\u4eec\u5fc5\u987b\u91cd\u5199\u7aef\u53e3\u548c\u65e5\u5fd7\u76ee\u5f55\uff0c\u56e0\u4e3a\u6211\u4eec\u5728\u540c\u4e00\u53f0\u673a\u5668\u4e0a\u8fd0\u884c\u8fd9\u4e9b\uff0c\u6211\u4eec\u4e0d\u5e0c\u671b\u6240\u6709\u7684\u4ee3\u7406\u5c1d\u8bd5\u5728\u540c\u4e00\u4e2a\u7aef\u53e3\u6ce8\u518c\uff0c\u6216\u8005\u8986\u76d6\u5f7c\u6b64\u7684\u6570\u636e\u3002<\/p>\n\n

\u6211\u4eec\u5df2\u7ecf\u5efa\u7acbZookeeper\u548c\u4e00\u4e2a\u5355\u8282\u70b9\u4e86\uff0c\u73b0\u5728\u6211\u4eec\u53ea\u9700\u8981\u542f\u52a8\u4e24\u4e2a\u65b0\u7684\u8282\u70b9\uff1a<\/p>\n\n

\n> bin\/kafka-server-start.sh config\/server-1.properties &\n...\n> bin\/kafka-server-start.sh config\/server-2.properties &\n...<\/code><\/pre>\n\n

\u73b0\u5728\uff0c\u6211\u4eec\u521b\u5efa\u4e00\u4e2a\u65b0topic\uff0c\u628a\u5907\u4efd\u8bbe\u7f6e\u4e3a\uff1a3<\/p>\n\n

\n> bin\/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 3 --partitions 1 --topic my-replicated-topic<\/code><\/pre>\n\n

\u73b0\u5728\u6211\u4eec\u6709\u4e00\u4e2a\u96c6\u7fa4\uff0c\u4f46\u662f\u6211\u4eec\u600e\u4e48\u624d\u80fd\u77e5\u9053\u90a3\u4e9b\u4ee3\u7406\u5728\u505a\u4ec0\u4e48\u5462\uff1f\u8fd0\u884c\"describe topics\"\u547d\u4ee4\u6765\u67e5\u770b\uff1a<\/p>\n\n

\n> bin\/kafka-topics.sh --describe --zookeeper localhost:2181 --topic my-replicated-topic\nTopic:my-replicated-topic   PartitionCount:1    ReplicationFactor:3 Configs:\nTopic: my-replicated-topic  Partition: 0    Leader: 1   Replicas: 1,2,0 Isr: 1,2,0<\/code><\/pre>\n\n

\u4ee5\u4e0b\u662f\u5bf9\u8f93\u51fa\u4fe1\u606f\u7684\u89e3\u91ca\u3002\u7b2c\u4e00\u884c\u7ed9\u51fa\u4e86\u6240\u6709\u5206\u533a\u7684\u6458\u8981\uff0c\u4e0b\u9762\u7684\u6bcf\u884c\u90fd\u7ed9\u51fa\u4e86\u4e00\u4e2a\u5206\u533a\u7684\u4fe1\u606f\u3002\u56e0\u4e3a\u6211\u4eec\u53ea\u6709\u4e00\u4e2a\u5206\u533a\uff0c\u6240\u4ee5\u53ea\u6709\u4e00\u884c\u3002<\/p>\n\n

\u201cleader\u201d\u662f\u8d1f\u8d23\u7ed9\u5b9a\u5206\u533a\u6240\u6709\u8bfb\u5199\u64cd\u4f5c\u7684\u8282\u70b9\u3002\u6bcf\u4e2a\u8282\u70b9\u90fd\u662f\u968f\u673a\u9009\u62e9\u7684\u90e8\u5206\u5206\u533a\u7684\u9886\u5bfc\u8005\u3002<\/p>\n\n

\u201creplicas\u201d\u662f\u590d\u5236\u5206\u533a\u65e5\u5fd7\u7684\u8282\u70b9\u5217\u8868\uff0c\u4e0d\u7ba1\u8fd9\u4e9b\u8282\u70b9\u662fleader\u8fd8\u662f\u4ec5\u4ec5\u6d3b\u7740\u3002<\/p>\n\n

\u201cisr\u201d\u662f\u4e00\u7ec4\u201c\u540c\u6b65\u201dreplicas\uff0c\u662freplicas\u5217\u8868\u7684\u5b50\u96c6\uff0c\u5b83\u6d3b\u7740\u5e76\u88ab\u6307\u5230leader\u3002<\/p>\n\n

\n

\u8bf7\u6ce8\u610f\uff0c\u5728\u793a\u4f8b\u4e2d\uff0c\u8282\u70b91\u662f\u8be5\u4e3b\u9898\u4e2d\u552f\u4e00\u5206\u533a\u7684\u9886\u5bfc\u8005\u3002<\/p>\n\n

\u526f\u672c\u4f1a\u88ab\u5206\u5e03\u5728\u4e0d\u540c\u7684\u8282\u70b9\u4e0a\uff0c\u526f\u672c\u6570\u4e0d\u80fd\u8d85\u8fc7\u8282\u70b9\u6570\uff0c\u5426\u5219\u521b\u5efa\u4e3b\u9898\u4f1a\u5931\u8d25\u3002\u4f8b\u5982\uff0c3\u4e2a\u8282\u70b9\u7684Kafka\u96c6\u7fa4\u6700\u591a\u53ea\u80fd\u67093\u4e2a\u526f\u672c\uff0c\u82e5\u521b\u5efa\u4e3b\u9898\u65f6\u6307\u5b9a\u526f\u672c\u6570\u5927\u4e8e3\uff0c\u5219\u4f1a\u629b\u51fa\u9519\u8bef\u63d0\u793a\u3002<\/p>\n<\/blockquote>\n\n

\u6211\u4eec\u53ef\u4ee5\u5728\u5df2\u521b\u5efa\u7684\u539f\u59cb\u4e3b\u9898\u4e0a\u8fd0\u884c\u76f8\u540c\u7684\u547d\u4ee4\u6765\u67e5\u770b\u5b83\u7684\u4f4d\u7f6e\uff1a<\/p>\n\n

\n> bin\/kafka-topics.sh --describe --zookeeper localhost:2181 --topic test\nTopic:test  PartitionCount:1    ReplicationFactor:1 Configs:\nTopic: test Partition: 0    Leader: 0   Replicas: 0 Isr: 0<\/code><\/pre>\n\n

\u8fd9\u6ca1\u4ec0\u4e48\u5927\u4e0d\u4e86\uff0c\u539f\u6765\u7684\u4e3b\u9898\u6ca1\u6709\u526f\u672c\u4e14\u5728\u670d\u52a1\u56680\u4e0a\u3002\u6211\u4eec\u521b\u5efa\u96c6\u7fa4\u65f6\uff0c\u8fd9\u662f\u552f\u4e00\u7684\u670d\u52a1\u5668\u3002<\/p>\n\n


\u56db\u3001\u5206\u5e03\u5f0f\u96c6\u7fa4\u73af\u5883\u90e8\u7f72<\/span><\/h1>\n\n

\u524d\u9762\u5df1\u7ecf\u8bb2\u89e3\u4e86Kafka\u5355\u673a\u7248\u5b89\u88c5\u914d\u7f6e\uff0c\u56e0\u6b64\u5bf9 Kafka \u96c6\u7fa4\u73af\u5883\u914d\u7f6e\u65f6\u53ea\u9700\u5c06\u5355\u673a\u7248\u5b89\u88c5\u7684 Kafka \u914d\u7f6e\u8fdb\u884c\u76f8\u5e94\u4fee\u6539\uff0c\u7136\u540e\u590d\u5236\u5230\u53e6\u5916\u4e24\u53f0\u673a\u5668\u5373\u53ef\u3002\u53e6\u5916\u5206\u5e03\u5f0f\u73af\u5883\u4e0bZooKeeper\u9700\u8981\u5355\u72ec\u90e8\u7f72\uff0c\u8fd9\u91cc\u53ea\u9700\u4fee\u6539server. properties\u6587\u4ef6\u4e2dKafka\u8fde\u63a5ZooKeeper\u7684\u914d\u7f6e\uff0c\u5c06Kafka\u8fde\u63a5\u5230 ZooKeeper \u96c6\u7fa4\uff0c\u914d\u7f6e\u683c\u5f0f\u4e3a\u201cZooKeeper\u670d\u52a1IP:ZooKeeper \u5ba2\u6237\u7aef\u7aef\u53e3\u201d\uff0c\u591a\u4e2aZooKeeper\u673a\u5668\u4e4b\u95f4\u4ee5\u9017\u53f7\u5206\u9694\u5f00\u3002<\/p>\n\n

zookeeper . connect=server-1:2181 ,server- 2:2181 ,server-3:2181<\/p>\n\n

\u6267\u884c\u4ee5\u4e0b\u4e24\u6761\u547d\u4ee4\u5c06\u672c\u673a\u5b89\u88c5\u7684Kafka\u5206\u522b\u590d\u5236\u5230\u53e6\u5916\u4e24\u53f0\u670d\u52a1\u5668\u4e0a\uff1a<\/p>\n\n

\nscp -r kafka 2.11-1.0.0 root@l72.117.12.62:\/usr\/local\/software\/kafka\nscp -r kafka_2.11-1.0.0 root@l72.117.12.63 :\/usr\/local\/software\/kafka <\/code><\/pre>\n\n

\u590d\u5236\u5b8c\u6210\u540e\uff0c\u5206\u522b\u767b\u5f55\u53e6\u5916\u4e24\u53f0\u673a\u5668\uff0c\u4fee\u6539 server.properties \u6587\u4ef6\u4e2d\u7684 broker.id \u4f9d\u6b21\u4e3a2\u548c3\u3002\u5f53\u7136\u53ef\u4ee5\u8bbe\u7f6e\u4efb\u4e00\u6574\u6570 \uff0c\u53ea\u8981\u4fdd\u8bc1\u4e00\u4e2a\u96c6\u7fa4\u4e2d broker.id\u552f\u4e00\u5373\u53ef\u3002\u540c\u65f6\u5728\u4e00\u53f0\u673a\u5668\u7684server. roperties\u6587\u4ef6\u4e2d\u8bbe\u7f6e host.name \u4e3a\u672c\u673a\u7684IP\uff0c\u4f8b\u5982\uff0c\u5bf9\u4e3b\u673a\u540d\u4e3aserver-1\u7684\u673a\u5668\u4e0a\u7684Kafka\u8282\u70b9\uff0c\u5728server. properties\u6587\u4ef6\u4e2d\u589e\u52a0host.name=172.117.12.61\u3002<\/p>\n\n

\u914d\u7f6e\u5b8c\u6bd5\u540e\uff0c\u5206\u522b\u542f\u52a8\u6bcf\u53f0\u673a\u5668\u7684KafkaServer\uff0c\u901a\u8fc7ZooKeeper\u5ba2\u6237\u7aef\u67e5\u770bKafka\u5728Zoo Keeper\u4e2d\u7684\u76f8\u5e94\u5143\u6570\u636e\u4fe1\u606f\uff0c\u5176\u4e2d\u67e5 \/brokers\/ids \u70b9\u4fe1\u606f\u5982\u4e0b<\/p>\n\n

\n[ zk : 172.117.12. 61 (CONNECTED) l] ls \/brokers\/ ids \n[ 1 , 2 , 3]<\/code><\/pre>\n\n

<\/p>\n <\/div>\n <\/div>","orderid":"0","title":"\u3010Kafka\u3011\u5b89\u88c5\u4e0e\u5feb\u901f\u542f\u52a8","smalltitle":"","mid":"0","fname":"Kafka","special_id":"0","bak_id":"0","info":"0","hits":"974","pages":"1","comments":"0","posttime":"2019-05-16 02:17:46","list":"1557944266","username":"admin","author":"","copyfrom":"","copyfromurl":"","titlecolor":"","fonttype":"0","titleicon":"0","picurl":"https:\/\/www.cppentry.com\/upload_files\/","ispic":"0","yz":"1","yzer":"","yztime":"0","levels":"0","levelstime":"0","keywords":"Kafka<\/A> \u5b89\u88c5<\/A> \u5feb\u901f<\/A> \u542f\u52a8<\/A>","jumpurl":"","iframeurl":"","style":"","template":"a:3:{s:4:\"foot\";s:0:\"\";s:8:\"bencandy\";s:0:\"\";s:4:\"head\";s:0:\"\";}","target":"0","ip":"47.106.78.186","lastfid":"0","money":"0","buyuser":"","passwd":"","allowdown":"","allowview":"","editer":"","edittime":"0","begintime":"0","endtime":"0","description":" \u4e00\u3001Kafka\u5b89\u88c5\u4e0b\u8f7d\u5b89\u88c5Kafka\u6781\u5176\u7b80\u5355\uff0c\u53ea\u9700\u8981\u5c06\u4e0b\u8f7d\u7684Kafka\u5b89\u88c5\u5305\u89e3\u538b\u5230\u76f8\u5e94\u7684\u76ee\u5f55\u5373\u53ef\u3002\u8fdb\u5165\u5b98\u65b9\u7f51\u7ad9 http:\/\/kafka .apache.org\/downloads \u4e0b\u8f7d\u5f53\u524d\u6700\u65b0\u7248\u672cKafka, Kafka\u5b89\u88c5\u5305\u5e76\u6ca1\u6709\u533a\u5206Windows..","lastview":"1719085409","digg_num":"783","digg_time":"1718944699","forbidcomment":"0","ifvote":"0","heart":"","htmlname":"","city_id":"0"},"page":"1"}