Apache Kafka for Beginners (Part 2 — Install Kafka)

Buyung Hardiansyah
1 min readOct 10, 2019

--

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 >>

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Buyung Hardiansyah
Buyung Hardiansyah

Written by Buyung Hardiansyah

Software Developer -- Golang | Python | PHP | Reactjs | Flutter

Responses (1)

Write a response