Skip to content

Instantly share code, notes, and snippets.

@krisleech
Last active June 22, 2017 13:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krisleech/8634393e8c45e9f06ed47bb5b24f0d31 to your computer and use it in GitHub Desktop.
Save krisleech/8634393e8c45e9f06ed47bb5b24f0d31 to your computer and use it in GitHub Desktop.
Ubuntu 16 installing Kafka notes
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment