From the course: Complete Guide to Apache Kafka for Beginners

Unlock the full course today

Join today to access over 25,200 courses taught by industry experts.

Linux: Start Kafka in KRaft mode

Linux: Start Kafka in KRaft mode

- [Stefan] Hi, this is Stefan from Conduktor, and in this lecture we're going to set up a Kafka Broker using Linux in craft mode. That means just alone without something called Zookeeper. So for this, we have two comments to run. We're going to click a cluster ID and format the storage using the kafka-storage.sh command, and then we're going to start Kafka using the binaries. So let's get started. Okay, so now we're going to start Kafka. For this on the Kafka website, under Get Started, Quick Start, we're going to scroll down and we're going to run these comments right here. So let's clear our screen. And the first thing we have to do is to go into the Kafka folder. And from there we're going to generate a cluster UUID. This is necessary to just give an ID to our cluster. So I copy this command and I paste it in. Alright, done. Next, we need to format the log directories. So the log directories is where your Kafka data…

Contents