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.
Windows WSL2: Start Kafka in KRaft mode - Kafka Tutorial
From the course: Complete Guide to Apache Kafka for Beginners
Windows WSL2: Start Kafka in KRaft mode
- [Instructor] So let's go ahead and start Kafka. For this, on the Kafka website, under Quickstart, I'm going to click here. We did this step 1 of getting Kafka, and now we're going to start the Kafka environment. So first thing we have to do is to do a cd into the Kafka directory to run these commands properly. And we're going to first create a Cluster UUID. So you copy this command and you paste it, press Enter. And then that's good. It's been run. And now we need to format the log directories. So this is where your Kafka data is going to be stored. And there is a servers.properties file that you need to look at. So I'll do cat servers.properties file. And this file contains all your configuration of your Kafka broker. So it's a lot of things, of course, but the one important thing to look at is logs.dir, and this is where your Kafka data is going to be stored. So right now it's going to be stored in…
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)
-
-
-
-
-
-
-
-
-
-
-