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: How to fix problems

Windows WSL2: How to fix problems

- [Speaker] Okay, so if you just run Kafka on WSL 2, you may get an issue at some point in this course based on a networking bug on WSL 2. So let me show you what the bug is and how to solve it. So you have started zookeeper and then you have started Kafka on WSL 2 and everything is working. And if you try to launch a, for example, Kafka topic status, such command and you'll see them later on, okay, in this course, I just want to show you one of them and you say, I want to go to Kafka. So local host 002 and you run on these commands, then this is going to work. I see there's no errors and so on. Everything was working fine. But then if you run these commands outside of the Ubuntu, so WSL 2 for example, if you run this command on PowerShell after having installed the Kafka topic utility on your Windows desktop for example, and try to run this command, as you can see, you're going to get a lot of these node not available…

Contents