Prerequisite
A basic understanding about Apache Kafka. Please go through the introduction once, should you need it.
Installation
Untar the tar file that is downloaded.
tar -xzf kafka_2.11-2.1.0.tgz
Run The Server
cd kafka_2.11-2.1.0
Start the zookeeper first
bin/zookeeper-server-start.sh config/zookeeper.properties
Zookeeper would be running at 2181 port. You can check that in the following log:
[2018-12-25 14:32:23,634] INFO binding to port 0.0.0.0/0.0.0.0:2181 (org.apache.zookeeper.server.NIOServerCnxnFactory)
Start the Kafka Server in another tab.
If you liked this article and would like one such blog to land in your inbox every week, consider subscribing to our newsletter: https://skillcaptain.substack.com