From the course: Complete Guide to Apache Kafka for Beginners

Unlock the full course today

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

macOS X: Using brew

macOS X: Using brew

So as an alternative to installing Java and then installing Kafka binaries and then setting up the path, we can do a little shortcut and installed Kafka using brew. So in this case, we're going to have again a cluster. So we're going to first going to install brew. Then we'll install Kafka using brew, and this will install the Java JDK for you, and then we can see how we can start Zookeeper and Kafka using the binaries in another process. So let's get started. So again, on the Kafkademy website there is how to install Apache Kafka with Homebrew, and I'm going to refer to these instructions. So first we need to install Homebrew, then we're going to install Kafka using Homebrew, and then we can see how we can use the CLI to start Kafka and to start Zookeeper. Okay. So to install Homebrew, you can go to the Homebrew installation page, which is right here. And then you can use this command to install Homebrew. So you paste it in and then it's going to ask you for sudo access. So you paste…

Contents