Apache Kafka for Beginners (Part 2 — Install Kafka)
Install Kafka
this is a step by step to install kafka for messaging system
Verify java
make sure you already install java.
Download kafka
* download kafka source (https://www.apache.org/dyn/closer.cgi?path=/kafka/2.0.0/kafka_2.11-2.0.0.tgz)
* extract source & change directory to kafka directory
$ tar -xzf kafka_2.11–2.0.0.tgz
$ cd kafka_2.11–2.0.0
Start zookepeer server
open new terminal and run / type
$ ./bin/zookeeper-server-start.sh config/zookeeper.properties
Start kafka server
open different new terminal, go to kafka folder and run / type
$ ./bin/kafka-server-start.sh config/server.properties
<< Part 1 — Apache Kafka for Beginners (Part 1 — Basic Kafka)
Apache Kafka for Beginners (Part 3 — Producer & Consumer) — Part 3 >>