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.
macOS X: Start Kafka in KRaft mode - Kafka Tutorial
From the course: Complete Guide to Apache Kafka for Beginners
macOS X: Start Kafka in KRaft mode
- [Instructor] Okay, so let's go ahead and now start Kafka. So the way to do it is that on the Kafka website, on the GET STARTED, you'll find QUICK START, and you scroll down. So we did get Kafka, and we've unzipped it, and now, we need to, first, generate a Cluster UUID. So for this, we run this command called KAFKA_CLUSTER_ID equals this. So the best thing to do is to cd into the Kafka directory, so make sure you are in the Kafka directory right now, and then we run this command, so KAFKA_CLUSTER_ID =, and then we'll use the kafka-storage.sh command. So we press Enter, and we're going to get a random UUID stored in this variable, and next, we need to format the log directory. So we just copy, again, this command right here and press Enter, and now, all the information is going to be stored in a temp directory, and then finally, we start the Kafka server. So this is going to start the Kafka server with this file…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Important: Starting Kafka and lectures order3m 53s
-
(Locked)
Starting Kafka with Conduktor: Multi-platform5m 7s
-
(Locked)
macOS X: Download and set up Kafka in PATH6m 13s
-
(Locked)
macOS X: Start Kafka in KRaft mode2m 25s
-
(Locked)
macOS X: Using brew4m 28s
-
(Locked)
Linux: Download and set up Kafka in PATH5m 38s
-
(Locked)
Linux: Start Kafka in KRaft mode2m 59s
-
(Locked)
Windows WSL2: WSL2 Setup2m 24s
-
(Locked)
Windows WSL2: Download Kafka and PATH setup5m 4s
-
(Locked)
Windows WSL2: Start Kafka in KRaft mode2m 10s
-
(Locked)
Windows WSL2: How to fix problems5m 21s
-
(Locked)
-
-
-
-
-
-
-
-
-
-
-