Skip to content

Instantly share code, notes, and snippets.

@lechidung
Created July 9, 2019 04:28
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 lechidung/1ab399b5ddcc90b225e19178c245ce6a to your computer and use it in GitHub Desktop.
Save lechidung/1ab399b5ddcc90b225e19178c245ce6a to your computer and use it in GitHub Desktop.
Install and start Kafka
# 1. Download Kafka and Install
wget http://ftp.jaist.ac.jp/pub/apache/kafka/2.2.0/kafka_2.12-2.2.0.tgz
tar -xzf kafka_2.12-2.2.0.tgz
cd kafka_2.12-2.2.0
# 2. Start Zookeeper server (in new terminal)
bin/zookeeper-server-start.sh config/zookeeper.properties &
# 3. Start Kafka server (in new terminal)
bin/kafka-server-start.sh config/server.properties &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment