How to Install Apache Kafka on Windows | Hands-on Kafka using CLI

preview_player
Показать описание
In this video, we will understand how to download and install Apache Kafka in Windows machine. Once we install Kafka then we will see how to use Kafka using command line.

#installation #kafka #javaguides #windows

STEP 1: DOWNLOAD AND INSTALL KAFKA

STEP 2: START THE KAFKA ENVIRONMENT
# Start the ZooKeeper service

# Start the Kafka broker service

STEP 3: CREATE A TOPIC TO STORE YOUR EVENTS

STEP 4: WRITE SOME EVENTS INTO THE TOPIC

STEP 5: READ THE EVENTS
hello world
topic demo
Рекомендации по теме
Комментарии
Автор

Guys, commands are given in the video description.

JavaGuides
Автор

if you are getting the following error "The input line is too long.
The syntax of the command is incorrect." move the kafka folder to C drive. You should have the following directory "C:\kafka"

bravinrutto
Автор

Sometimes the length of the folder name can be too big so you want to rename as kafka when installing. Not sure if it's mentioned in the video.

SuperKidontheblock
Автор

Thank you soo much... after surfing for nearly 2 hrs, I get the perfect vdo for Kafka hands on

vaibhavkolekar
Автор

If you are facing error while running kafka then Just place kafka folder outside the Program Files. Place them in C directory and start again to see the magic.

acchutdevkule
Автор

also works on wsl.just use sh commands instead of bat command. Great video man. cheers

Nachiket_upadhye_
Автор

Many thanks for the straightforward video

georgeignatov
Автор

Thanks you sir ..from initial to end very good

obilisamy
Автор

thanks. Very helpful! Can you also share information on how Kafka can read a log file saved on the local machine?

prithveemohan
Автор

I was having "The System can't find the path specified" error, but cmd doesn't properly informs what causes the error.

When I tried with bash I was informed that zooekeeper wasn't able to fin my jdk system variable, turns out that the variable wasnt properly informed, if you're facing the same problem try to check this.

GabrielPerez-ygbi
Автор

I wasted more than 90 mins setting up. The main issue was space in Program files where space is there. Make sure there is no space on folder name, . For java and kafka. Also check JAVA_HOME environment variable in you PC.

vaibhav
Автор

Thanks for good tutorial
Kindly make some tutorial on kafka connector with DB

manishgautam
Автор

Thanks Ramesh for your wonderful lectures. But I am facing issues while starting zookeeper although I have followed each and every steps mentioned in the video. At 6:18 i can see ur zookeeper started but I am getting error saying "The System can't find the path specified". Can u pls assist me on this ? I am stuck here from last few days. Thank you so much for ur time !!

ashishraj
Автор

Quick Tip Everyone: Be sure to have the 64-bit version of java installed or it will give you fits. Hope it helps someone in the future.

Console command to check for 64-bit: java -d64 -version

^ If that has an error message, you're on 32-bit.

BigPoleTightHole
Автор

Hi, Can we execute Schema-registry and Kafka-rest services in Window (OS/ not linux/Not Docker), I cant able to see schema-registry-run-class and schema-registry-start files in installation folder, kindly help me here.

anils
Автор

we receive license popup if we try to list topics in kafka ...it asks for adding apache license 2.0

MultiPramith
Автор

Thanks for your time buddy. when I'm consuming the producer it does not work and got an Io exception in Kafka, could you help me?

ThArock
Автор

Hi Sir, for creating topic in cmd getting this error -Error while executing topic command : Timed out waiting for a node assignment. Call: createTopics
Timed out waiting for a node assignment. Call: createTopics
(kafka.admin.TopicCommand$)

shashankvalapa
Автор

Hi, where is the notepad with commands?

elvinmustafayev
Автор

move your installations to a folder with no space in name, else you will get error

AmitCodes