Install Apache Kafka on Windows PC | Kafka Installation Step-By-Step Guide
Вставка
- Опубліковано 15 вер 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!!!
i was struggling to install kafka but after watching this video, it helped me install kafka in few minutes. Very Informative. Thankyou AmpCode :)
The only video where Kafka installation explained very well, Thanks Bro, Keep ur good work.
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 best tutorial on "How to install Kafka"ever
Thank you so much!
The only video that explained it very well. Thank you very much!
Glad it was helpful!
respect!!! разложил все как надо за 13 минут!
Thank you so much! Subscribe for more content 😊
Единственный нормальный туториал!👍
Best tutorial, thx.
Индусы всегда снимают топ туториалы 😊
Thank you so much! Subscribe for more content 😊
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 😊
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
Wow what an excellent video 👏🏻👏🏻👏🏻 keep growing bro.
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!!!
Thank you, brother. The path was my issue.
Thank you so much!
this is the power of KAFKA, thx for the explanation :)
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
I wish I can like this video a million times.
Thank you so much! Subscribe for more content 😊
Thank you so much for this video. Subscribed, loved your simple yet robust explanation.
Thank you so much!😊
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! 😊
thanks for a clear instructions. this video really helped us with installation and setup process.
Thank you so much! Subscribe for more content 😊
Very clear explanation. Thank you so much. I am able to install and work on it.
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 😊
Thank you for sharing the tutorial. It helped me to get the sense of Kafka streaming.
very useful. Thank you so much. I finally run apache kafka on windows through this 🙂
Really Great & Simple explaination , Thanks
Thank you! 😊
Thanks for the tutorial very well explained.
Thank you so much! 😊
Best tutorial ever, thank you! keep it going
Thank you so much! Subscribe for more content 😊
thanks for very good Guide , can you show example how to delete topic | read from consumer |
nice, simple tutorial. on point, works well 👌👍🙏
Thank you so much! 😊
Wonderful, Crystal clear 🙂
Thank you. Keep learning, keep growing!😊
Thank you bro. I successfully installed kafka
Excellent video. Very helpful. Thank you very much !
Thank you so much!
Excellent content. I was able to install and get started at ease. Thanks for posting..
thank u so much for your video! Is the most pratical way i've seen and it really works!
Все очень понятно. Спасибо!
Everything is very clear. Thank you!
Thank you so much!
Bro it's awesome..🔥🔥 can you start playlist on Kafka...?
Will do soon. Thank you so much!
Finally found the video that really help, thanks !
Genio!
Probé varios víedos y este sí me ayudó!
Thank you so much! Subscribe for more content 😊
Thanks Bro very helpful Saved My time
Glad it helped! Thank you!
thanks, your video is very helpfull
I see what you did there! thank you!!!!
Thank you so much!
TQ SIR NICELY DESCRIBED KAFKA PRATICAL ❤️❤️❤️
Thanks bro it is very helpful
great explanation bro.... keep it up.... Please make full tutorial on Apache kafka....
Very well explained in the video. Thank you very much.
Thank you So much, Everything Ok , Successfully Install Kafka
Thank you so much😊
Thank so much! This was very helpful.
Glad it was helpful!
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!
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
Very Good tutorial.
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 helpful!!! Is there any UI for Kafka?
simply amazing
Thank you so much! Subscribe for more content 😊
Tq bro...plz do remaining all about kafka
Yeah sure, will start the Kafka tutorial soon! Thanks for your interest! 😊
Easy setup Video. Thank you
Thank you so much! Subscribe for more content 😊
Very helpful bro. Thanks for the tutorial
Thank you sir! Here is my like and my subscription!
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
Nice bro even i also wasted time for producer console command was not writable
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 😊
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 😊
Best one
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
Thanks Bro for the awesome video!
Thank you so much! 😊
my producer's message isnt getting displayed in consumer?
Sorry for late response. Could you please let me know what error you got?
Best video ever
Thank you!
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?
Super Cool.. Thanks for info
Glad you liked it. Thanks!
very well explanation.
Thank you so much!
thanks a lot, perfect tutorial
Thank you so much! Subscribe for more content 😊
Super cool for beginners
Thank you so much!!
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😅👍
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 ?
Excellent
Thank you so much! Subscribe for more content 😊
When I was executing zookeeper or kafka server commands in command prompt, I am facing " the system cannot find the path specified"
Please help
Thanks for the Video 😊❤
Thank you so much!
Thank you for great job! Very useful video
Thank you so much😊
Very helpful! Thank you
I have setup kafka on windows server but it is getting down again and again can you please suggest?
if possible please correct the command ----------> It's not --partition, but --partitions
Thank you for your inputs. :)
Bro i have a error while i start a kafka server..it shows 'wmic' is not recognised as a internal or external command,operable program or batch file????how to fix this bro.
Thank you very💯🙏
Thank you. Keep learning, keep growing!😊
Thank you so much
Very good, thanks
Thank you too!
After you ran the consumer command at the end, the consumer started listening right, the cursor started blinking. But when I am running this command, it's just exiting, I get no error nothing, I don't get the cursor only, what shall I do?
Brother, Why did we do changes in the Zookeeper and kafka server properties files, Can’t we configure it in default settings?
Genio
Thank you so much! Subscribe for more content 😊
Very helpful content
Gettting error as classpath is empty.please build the project first e.g.by running
'gradlew jarAll' while starting the zooper command
Very nice video thanks
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
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
superb, thanx
Thanks buddy!😊
thank you!
thank you very much!!!!!
Thank you so much! Subscribe for more content 😊
Thank you brother :)
You're most welcome
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?
Hello there,
I tried installing Kafka on my local windows PC and it is working fine.
But I wanted to setup Kafka on windows server as a production deployment. How should I go for installing Kafka?
hi, I am getting an error -Exception in thread "main" joptsimple.UnrecognizedOptionException: bootstrap.server is not a recognized option. Can you please help?
Sorry for late response. Could you please check if your zookeeper service is working fine. Let me know if you still face this issue.