Install Kafka on Ubuntu 20.04

Posted by : at

Category :


Apache Kafka is a streaming service that I am looking to play with in a home lab. In order to use my homelab I run this locally in the foreground to allow me to check each component - I know that I could just as easily do this in k8s but I like to turn components on and off as required - which I know that I could do in k8s.

This procedure assumes a working install of Ubuntu 20.04 with Java and Zookeeper installed.

To install and run Kafka execute the following commands:

wget https://dlcdn.apache.org/kafka/3.1.0/kafka_2.13-3.1.0.tgz
tar xfvz kafka_2.13-3.1.0.tgz
ln -s kafka_2.13-3.1.0 kafka
cd kafka
bin/kafka-server-start.sh config/server.properties

About Michael Ransley
Michael Ransley

Hi, I am a Husband, Father of 3 children and Principal Data Engineer at Origin Energy. I am interested in many things - but technology is certainly one of them - both how to solve particular issues but also the effects that technology has on our society.

Website : https://michael.ransley.co

Categories
Useful Links