Linux Format

KAFKA Build utilities with the Kafka server

Nowadays, quite a few data architectures involve both a database and Apache Kafka, which is a distributed streaming platform and the subject of this tutorial. You can also find Kafka described as a publish-subscribe message system, which is a fancy way of saying the same thing as it being a distributed streaming platform. As Kafka is optimised for speed, it doesn’t offer too many facilities to users or administrators – like the ones offered by relational databases – and Kafka commands are long and difficult to remember, worried yet?

Don’t worry as here we’ll look at the basics of Kafka, including plenty of the commands and two Go utilities for working with it.

Installation

We’ll use Kafka from a Docker image. The main reason for this is that Kafka has many dependencies and parameters that complicate the installation process – but Docker images come ready to run and include all required dependencies.

For this tutorial we’ll use a Kafka Docker image offered by Landoop. This is one of the best that you can find because it enables you to work with Kafka as soon as you download it! Other Kafka Docker images, including the one offered by Confluent, require many customisations that demand time, which might discourage amateur users.

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format14 min read
Ubuntu at 20
Without Ubuntu, the current Linux landscape would be unrecognisable. Back in October 2004, the first 4.10 (2004.10) release of Ubuntu, with its intriguing Warty Warthog code name, leapt from obscurity to being one of the most downloaded Linux distrib
Linux Format2 min read
Make Way For Nobility
It’s that most special time of the year when Canonical releases a new Ubuntu LTS. This I time, the creature it has loosed unto the world is Noble Numbat. And what a fine specimen it is. OK, full disclosure before we get stuck in: we’re basing our eva
Linux Format10 min read
Answers
I was originally using the Cinnamon version of Linux Mint 21.3. I heard good things about MATE, so I did a new installation to try out MATE. After several months, I decided that I would like to go back to Cinnamon. I am not sure how to switch back wi

Related Books & Audiobooks