A distributed messaging system with high throughput
Equivalent to a large cache
Architecture pseudo-Distributed installationTar-xzf kafka_2.10-0.8.1.1.tgzstart ZK bin/zookeeper-server-start.sh config/zookeeper.propertiesStart service bin/kafka-server-start.sh config/server.propertiesCreate theme bin/kafka-topics.sh--create--zookeeper localhost:2181--replication-factor 1--partitions 1--topic testView the topic bin/kafka-topics.sh--list--zookeeper localhost:2181
command-line client operationsCreate producer bin/kafka-console-producer.sh--broker-list localhost:9092--topic test Create consumer bin/kafka-console-consumer.sh-- Zookeeper localhost:2181--topic Test--from-beginningcluster InstallationInstall ZK cluster Modify configuration file Server.properties
Broker.id: Only, fill in the numbers
Host.name: Only, fill the server
zookeeper.connect=192.168.40.134:2181,192.168.40.132:2181,192.168.40.133:2181
false distribution error? remove in config fileConfiguration file
Kafka Pseudo-Distributed installation