Skip to content

Instantly share code, notes, and snippets.

@wang-zhijun
Last active May 10, 2017 04:06
Show Gist options
  • Save wang-zhijun/2114a26ed121943e5af97b5c63c56dfd to your computer and use it in GitHub Desktop.
Save wang-zhijun/2114a26ed121943e5af97b5c63c56dfd to your computer and use it in GitHub Desktop.
kafka

https://kafka.apache.org/quickstart

wget http://ftp.kddilabs.jp/infosystems/apache/kafka/0.10.2.0/kafka_2.11-0.10.2.0.tgz
tar -xvzf kafka_2.11-0.10.2.0.tgz
cd kafka_2.11-0.10.2.0/

ZooKeeper

ZooKeeper is used for managing and coordinating Kafka broker. ZooKeeper service is mainly used to notify producer and consumer about the presence of any new broker in the Kafka system or failure of the broker in the Kafka system. As per the notification received by the Zookeeper regarding presence or failure of the broker then pro-ducer and consumer takes decision and starts coordinating their task with some other broker.

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