Install Apache Kafka on Windows PC | Kafka Installation Step-By-Step Guide
ฝัง
- เผยแพร่เมื่อ 20 ส.ค. 2024
- This video is all about installing the Apache Kafka on your Windows PC. This video includes step-by-step guide to install Kafka including recommended configurations.
Prerequisite:
You should have Java (JDK) installed on your windows machine.
Apache Kafka official website: kafka.apache.o...
Required Commands:
.\bin\windows\zookeeper-server-start.bat .\config\zookeeper.properties
.\bin\windows\kafka-server-start.bat .\config\server.properties
kafka-topics.bat --create --bootstrap-server localhost:9092 --replication-factor 1 --partition 1 --topic test
kafka-console-producer.bat --broker-list localhost:9092 --topic test
-------------------------------------------------------------------------------------------------------
Sample Data:
{"Name: "John", "Age":"31", "Gender":"Male"}
{"Name: "Emma", "Age":"27", "Gender":"Female"}
{"Name: "Ronald", "Age":"17", "Gender":"Male"}
---------------------------------------------------------------------------------------------------------
kafka-console-consumer.bat --topic test --bootstrap-server localhost:9092 --from-beginning
.\bin\windows\zookeeper-server-stop.bat .\config\zookeeper.properties
.\bin\windows\kafka-server-stop.bat .\config\server.properties
--------------------------------------------------------------------------------------------------------
Want to know more about Big Data? then checkout the full course dedicated to Big Data fundamentals: • Big Data Full Course
---------------------------------------------------------------------------------------------------------
Also check out similar informative videos in the field of cloud computing:
What is Big Data: • What is Big Data? | Bi...
How Cloud Computing changed the world: • How Cloud Computing ch...
What is Cloud? • What is Cloud Computing?
Top 10 facts about Cloud Computing that will blow your mind! • Top 10 facts about Clo...
Audience
This tutorial is made for professionals who are willing to learn the basics of Big Data Analytics using Hadoop Ecosystem and become a Hadoop Developer. Software Professionals, Analytics Professionals, and ETL developers are the key beneficiaries of this course.
Prerequisites
Before you start proceeding with this course, I am assuming that you have some basic knowledge to Core Java, database concepts, and any of the Linux operating system flavors.
---------------------------------------------------------------------------------------------------------------------------
Check out our full course topic wise playlist on some of the most popular technologies:
SQL Full Course Playlist-
• SQL Full Course
PYTHON Full Course Playlist-
• Python Full Course
Data Warehouse Playlist-
• Data Warehouse Full Co...
Unix Shell Scripting Full Course Playlist-
• Unix Shell Scripting F...
--------------------------------------------------------------------------------------------------------------------------
Don't forget to like and follow us on our social media accounts which are linked below.
Facebook-
/ ampcode
Instagram-
/ ampcode_tutorials
Twitter-
/ ampcodetutorial
Tumblr-
ampcode.tumblr.com
-------------------------------------------------------------------------------------------------------------------------
Channel Description-
AmpCode provides you e-learning platform with a mission of making education accessible to every student. AmpCode will provide you tutorials, full courses of some of the best technologies in the world today.By subscribing to this channel, you will never miss out on high quality videos on trending topics in the areas of Big Data & Hadoop, DevOps, Machine Learning, Artificial Intelligence, Angular, Data Science, Apache Spark, Python, Selenium, Tableau, AWS , Digital Marketing and many more.
#bigdata #datascience #technology #dataanalytics #datascientist #kafka #apachekafka #ampcode
I just wasted 15 hours to install kafka but now this video help me to able to install kafka and run it just in a 12 mins.. Thanks AmpCode
Thank you so much! I really appreciate your inputs. Keep learning, keep growing!😊
Indian guys always was good at teaching something, love and greetings from Kazakhstan, thanks!!!
the best tutorial on "How to install Kafka"ever
Thank you so much!
My bro !
You made me fall in love with java again today because it was super smooth.
Thank you so much!
The only video where Kafka installation explained very well, Thanks Bro, Keep ur good work.
Thank you so much! 😊
respect!!! разложил все как надо за 13 минут!
Thank you so much! Subscribe for more content 😊
i was struggling to install kafka but after watching this video, it helped me install kafka in few minutes. Very Informative. Thankyou AmpCode :)
Единственный нормальный туториал!👍
Best tutorial, thx.
Индусы всегда снимают топ туториалы 😊
Thank you so much! Subscribe for more content 😊
The only video that explained it very well. Thank you very much!
Glad it was helpful!
Exactly worked Thank u clear explanation step by step
Thank you so much! Subscribe for more content 😊
Easy to learn. 100% working tutorial.
Thank you so much! Subscribe for more content 😊
Bro.....Bro....Bhayankar ho bhai tum to, trust me one of the best installation of kafka kaa video hai tumhara, maza aagya bro
Thanks a lot man!!!
this is the power of KAFKA, thx for the explanation :)
I wish I can like this video a million times.
Thank you so much! Subscribe for more content 😊
Thank you, brother. The path was my issue.
Thank you so much!
You're awesome. Thanks for this explanation!!!! This video deserves much more likes and recognition.
Thank you so much🤩👍
@@ampcode hi can I need your help it doesn't work on my end. It says could not find or load main class Files\Kafka\libs\activation-1.1.1.jar;C:Program
bro i love so much, the other tutorial is lame and wasted my times, but u just give direct simple solution in less than 10 minutes. thanks
Bro....Thank you soo much...💥
Explain about replication factor, partition and offset and all it will help us to understand the whole kafka structure
Thank you so much for your inputs! 😊
Thank you so much for this video. Subscribed, loved your simple yet robust explanation.
Thank you so much!😊
Wow what an excellent video 👏🏻👏🏻👏🏻 keep growing bro.
Thank you so much! Subscribe for more content 😊
Best tutorial ever, thank you! keep it going
Thank you so much! Subscribe for more content 😊
Wonderful, Crystal clear 🙂
Thank you. Keep learning, keep growing!😊
Thank you for sharing the tutorial. It helped me to get the sense of Kafka streaming.
Thank you bro. I successfully installed kafka
very useful. Thank you so much. I finally run apache kafka on windows through this 🙂
Very clear explanation. Thank you so much. I am able to install and work on it.
After wasting 2h of my time😢, I came across this Video. ❤ Thank you so much. I thank the Lord for your life. May God bless you.🙏🏽
Glad it helped! Thank you!
Really Great & Simple explaination , Thanks
Thank you! 😊
Genio!
Probé varios víedos y este sí me ayudó!
Thank you so much! Subscribe for more content 😊
Finally found the video that really help, thanks !
Все очень понятно. Спасибо!
Everything is very clear. Thank you!
Thank you so much!
thanks for a clear instructions. this video really helped us with installation and setup process.
Thank you so much! Subscribe for more content 😊
Thanks for the tutorial very well explained.
Thank you so much! 😊
Very very goodone for beginners.. Thank you.. I want to go with using spring boot with kafka and zookeeper next..can any one help me if there is a beginner kind of videos on YT, thank you dude.. amazing job, and subscribed !
Thank you so much! Subscribe for more content 😊
nice, simple tutorial. on point, works well 👌👍🙏
Thank you so much! 😊
TQ SIR NICELY DESCRIBED KAFKA PRATICAL ❤️❤️❤️
I see what you did there! thank you!!!!
Thank you so much!
Excellent content. I was able to install and get started at ease. Thanks for posting..
Excellent video. Very helpful. Thank you very much !
Thank you so much!
Very Good tutorial.
Thank you so much! Subscribe for more content 😊
Thanks Bro very helpful Saved My time
Glad it helped! Thank you!
Bro it's awesome..🔥🔥 can you start playlist on Kafka...?
Will do soon. Thank you so much!
thank u so much for your video! Is the most pratical way i've seen and it really works!
Thank so much! This was very helpful.
Glad it was helpful!
great explanation bro.... keep it up.... Please make full tutorial on Apache kafka....
simply amazing
Thank you so much! Subscribe for more content 😊
Very well explained in the video. Thank you very much.
Tq bro...plz do remaining all about kafka
Yeah sure, will start the Kafka tutorial soon! Thanks for your interest! 😊
Nice.. well explained.. How can one run kafka on a Laravel project?
Thank you! I’m not aware much on the laravel but hope this will be helpful!😊
codebrisk.com/blog/use-apache-kafka-producers-consumers-in-your-laravel-app
Thank you So much, Everything Ok , Successfully Install Kafka
Thank you so much😊
Easy setup Video. Thank you
Thank you so much! Subscribe for more content 😊
understood very very clearly. Thank you for the tutorial
Thank you so much! Subscribe for more content 😊
thanks, your video is very helpfull
Very helpful bro. Thanks for the tutorial
Super cool for beginners
Thank you so much!!
Nice bro even i also wasted time for producer console command was not writable
Thank you so much! Subscribe for more content 😊
Very nice video thanks
Thank you sir! Here is my like and my subscription!
Thanks Bro for the awesome video!
Thank you so much! 😊
I have spent a lot of time to install kafka but after seeing this video I have installed it in 5 min so thanks for the video and I have a question how to listen to an already created topic what is the command for that
You can use same command for listening to already created Kafka topic and also you can give -from-beginning to listen to any previous data in that topic. Pls let me know in case of any further queries 😊
@@ampcode Thanks for replying back, So when I give producer command I am getting new error saying connection to node -1 could not be established, broker may not be available and bootstrap broker disconnected. Previously I am able to run same command but don't know what happened it's showing above error and zookeeper and Kafka servers are up, please reply back
Best video ever
Thank you!
my producer's message isnt getting displayed in consumer?
Sorry for late response. Could you please let me know what error you got?
thanks a lot, perfect tutorial
Thank you so much! Subscribe for more content 😊
Super Cool.. Thanks for info
Glad you liked it. Thanks!
very well explanation.
Thank you so much!
Excellent
Thank you so much! Subscribe for more content 😊
In the producer cmd when I enter the data and hit the enter button in consumer cmd there is no data
And in Kafka server cmd It is showing IOExceotion : Map Failed and OutOfMemoryError: Map failed
Pls help me to solve this issue
Could you please paste the commands you are running if possible. we can solve this if you're still facing the issue
Very helpful! Thank you
Thanks for the Video 😊❤
Thank you so much!
Excelente tutorial, super bien explicado, muchas gracias, pude hacer el ejemplo, ahora voy a tratar de hacer esa implementación con Tibco BW 6, saludos desde Colombia
Thank you so much! Subscribe for more content 😊
Nice tutorial. Beside, have you guys already got the error problem concerning the retention in windows OS. I faced the issue and still not have solution. 3.6.0 version of kafka
very useful, Thank you so much
Thank you!
Very helpful content
if possible please correct the command ----------> It's not --partition, but --partitions
Thank you for your inputs. :)
Thank you for great job! Very useful video
Thank you so much😊
maza gaya bhai feel karwadi kafka
Thank you so much! Subscribe for more content 😊
Thank you very💯🙏
Thank you. Keep learning, keep growing!😊
Hi, i follow the steps and producer side i paste the consumer not showing any json data, errors also not showed in logs but where exactly check the errors why not receive the consumer not showed any data?
Great tutorial, thank you :)
Thank you so much! Subscribe for more content 😊
tnx for video. I have some issue. Messages sends well by producer/ I can see them in zookeeper. But consumer doesn't show them.
Sorry for late response. Could you please check once if you are listening to the same topic and also listening from the beginning. I hope this will solve the issue😅👍
Very good, thanks
Thank you too!
That's a great intraduction, many thanks 🙏🙂
I would need to consume the data to send in a SQL DB from a windows server. Would you be able to help me on this ?
superb, thanx
Thanks buddy!😊
Best one
Thank you brother :)
You're most welcome
thank you very much!!!!!
Thank you so much! Subscribe for more content 😊
Thank you so much
Genio
Thank you so much! Subscribe for more content 😊
When i run the first command I'm getting the message like system cannot find the path specified can you please help me with this
Hello there! could you please navigate first to the Kafka bin folder and open the command prompt in the bin and then kick off zookeeper and kafka? it seems to be the path issue or else you may not have JDK installed on your PC. Please let me know in case of any. :)
am getting same error pls help me out
I'm getting same error
Thanks a ton.
Thank you!
when i start kafka there is no out
same
Are u reading or u just like
Could you please let me know for which command you’re facing this issue?
@@ampcode i used docker and everything was fine
Not working for me. "The system cannot find the path specified." error is coming for me.
thank you!
Where should I give the stopping commands?
I am not able to give the stopping command in the zookeeper cmd prompt and kafka cmd prompt.
Hello there! you can use below commands to stop your server:
.\bin\windows\zookeeper-server-stop.bat .\config\zookeeper.properties
.\bin\windows\kafka-server-stop.bat .\config\server.properties
I am trying to consume the results but it is not fetching. I followed same steps as you guided but I am not able to receive the messgaes. What might be the issue
Could you please share me what error msg you got?
Thank you so much bro....really so helpful😊
Most welcome 😊
After the command 6:48 I have faced issue with classpath is empty. Please build the project first... Could you please help as soon as possible
Sorry for late response. Could you please check if the JDK is installed on your system. Let me know if you still face this issue.
Thanks bro!!
Gettting error as classpath is empty.please build the project first e.g.by running
'gradlew jarAll' while starting the zooper command
In real time also we use this command or other command instead of localhost --bootstartp-server localhost:9092