apt-get install zookeeperd
apt-get install kafkacat
download Kafka from http://ftp.jaist.ac.jp/pub/apache/kafka
tar -xzf kafka_xxx.tgz
cd kafka_xxx
bin/kafka-server-start.sh config/server.properties
bin/kafka-console-producer.sh --topic kris --broker-list localhost:9092
kafkacat -b localhost -t kris
Note kafkacat
will fail until the first message is posted which will create the topic.