How to install Kafka on Windows System?

+3 votes
I am a new student learning Big Data Hadoop. I am following a blog series and there is a tutorial to use Kafka but they have not mentioned how to install Kafka on Windows. Can somebody guide me with Kafka installation on Windows?
Feb 25, 2019 in Apache Kafka by Malik
2,709 views
http://kafka.apache.org/downloads.html
checkitout and follow instructions
Thank you @ASHRAF for your response.

Register on Edureka Community, make this comment an answer and earn points and reputation.

1 answer to this question.

+3 votes

These are the steps to install Kafka on Windows:

Before you start installing Kafka, you need to install Zookeeper.

Next, you need to download Kafka. You can download it from this link:

http://kafka.apache.org/downloads.html

Once it is download, extract the files and copy the kafka folder in C drive.

Now, in the kafka folder, inside the config folder, you will find a file named server.properties. 

Open this file in a text editor and find and edit the line log.dirs=/tmp/kafka-logs” to “log.dir= C:\kafka_2.1.1-src\kafka-logs”

Note that this path might change depending on where you have stored Kafka and the version of Kafka you are using.

Now to start Kafka. Go to the folder where you have saved Kafka. Shift+Right click on the Kafka folder and open it using command prompt or powershell.

Finally, run the following command to start Kafka

$ .\bin\windows\kafka-server-start.bat .\config\server.properties

answered Feb 25, 2019 by Ramya
Thanks. One remark: the double quotes around the log.dirs parameter caused a fatal error in starting kafka on Windows. Omitting the double quotes worked fine.

Related Questions In Apache Kafka

0 votes
1 answer

How to reset the offset of messages consumed from Kafka?

The reset option only prints the result ...READ MORE

answered Jul 9, 2018 in Apache Kafka by Shubham
• 13,370 points
3,306 views
0 votes
1 answer

How to commit message offsets in Kafka for reliable data pipeline?

You can use auto.commit.enable to allow Kafka ...READ MORE

answered Jul 9, 2018 in Apache Kafka by Shubham
• 13,370 points
455 views
0 votes
1 answer

How to purge Kafka Topic?

For your case what you can do ...READ MORE

answered Sep 4, 2018 in Apache Kafka by nitinrawat895
• 10,840 points
612 views
0 votes
1 answer

How to delete a topic in Kafka 0.8.1.1?

Deleting topic isn't always working in 0.8.1.1 Deletion ...READ MORE

answered Sep 4, 2018 in Apache Kafka by nitinrawat895
• 10,840 points
279 views
0 votes
1 answer

How to write Kafka connector to integrate with Facebook API?

If you know the limit of API ...READ MORE

answered Apr 29, 2019 in Apache Kafka by Kumar
404 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,840 points
3,838 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,840 points
521 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
20,309 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,290 points
1,436 views
0 votes
1 answer

Installing Kafka on Ubuntu

I am not sure what you expect ...READ MORE

answered Feb 21, 2019 in Apache Kafka by Arun
142 views