Installing Apache Kafka on Windows 11 in 5 minutes
Summary
TLDRIn this step-by-step tutorial, Amrit Pal Singh guides viewers through the process of installing Apache Kafka on a Windows machine. He covers downloading the latest version, extracting the files, setting up environment variables, and configuring the necessary properties for both Zookeeper and Kafka. The tutorial also demonstrates how to start both Zookeeper and Kafka services using PowerShell commands, as well as verifying that the services are running using the 'jps' command. By following these steps, users can successfully install and run Kafka on Windows for data streaming and processing.
Takeaways
- 😀 First, download the Apache Kafka ZIP archive from the official website and choose the appropriate Scala version (2.12 or 2.13).
- 😀 Extract the downloaded file to a folder on your system, e.g., 'C:\kafka'.
- 😀 Set up the 'KAFKA_HOME' environment variable to point to the Kafka folder (e.g., 'C:\kafka').
- 😀 Update the system 'Path' environment variable to include the Kafka 'bin' directory for easy access to Kafka commands.
- 😀 Configure Zookeeper by editing the 'zookeeper.properties' file and setting the correct path for the 'dataDir' variable.
- 😀 Edit the 'server.properties' file to set the correct path for the 'log.dirs' variable where Kafka will store logs.
- 😀 Start Zookeeper using the command: '.\bin\windows\zookeeper-server-start.bat .\config\zookeeper.properties' in PowerShell.
- 😀 After starting Zookeeper, open a new PowerShell window to start Kafka with the command: '.\bin\windows\kafka-server-start.bat .\config\server.properties'.
- 😀 Open a third PowerShell window and use the 'jps' command to check that both Zookeeper and Kafka services are running correctly.
- 😀 Once installed, you should see 'QuorumPeerMain' (Zookeeper) and 'Kafka' (Kafka broker) in the JPS output, confirming that Kafka is running.
Please replace the link and try again.
Outlines

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowMindmap

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowKeywords

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowHighlights

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowTranscripts

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowBrowse More Related Video

How to install apache-superset on windows | Dashboard building | Data Analytics | Ashutosh Tripathi

Cara Instal Android Studio di Windows Lengkap (JDK, Android Studio, SDK, AVD/Emulator)

Konfigurasi DATABASE SERVER Pada OS Debian 10 | VirtualBox

Windows Server 2012 r2 Tutorial Tagalog!

Begini Cara Install Windows 10 Menggunakan VirtualBox | install windows 10 on virtualbox

Tutorial on Installing Windows 10 in VirtualBox
5.0 / 5 (0 votes)