Apache Kafka Crash Course | What is Kafka?
ฝัง
- เผยแพร่เมื่อ 15 มิ.ย. 2024
- In this video, we delve into the fascinating world of Kafka, an open-source distributed event streaming platform. Join us as we explore the fundamental concepts and components of Kafka, including Kafka Topics, Message Partitions, and Consumer Groups.
Throughout the video, we will comprehensively understand Kafka's architecture and its significance in modern data-driven applications. Whether you're a beginner or already familiar with Kafka, there's something valuable for everyone in this discussion.
But that's not all! We believe in learning by doing, so we'll also walk you through a hands-on coding example using Node.js. By the end of this tutorial, you'll have a practical understanding of how to implement Kafka in your Node.js projects.
Quick Links
► Gist and Code: gist.github.com/piyushgarg-de...
► Docker Master Course: learn.piyushgarg.dev/learn/do...
Use Coupon "DOCKER" to get 25% OFF
Timestamps
00:00 Kafka Introduction
00:18 Problem Statement
13:15 How Kafka Solves the Problem
22:30 Architecture of Kafka
37:35 Consumer Groups in Kafka
44:42 Kafka with Node.js
Video Titles
► What is Kafka?
► Why do we need Kafka?
► Kafka Crash Course
► Mastering Kafka
► Kafka Nodejs Tutorial
Hashtags
#Kafka #RealTimeDataStreaming #nodejs #EventStreaming #DistributedSystems #BigData #DataStreaming #Nodejs #CodingTutorial #Developer #SoftwareEngineering #TechnologyExplained #DataProcessing #ScalableApplications #ConsumerGroups #MessagePartitions #DataDrivenApplications #OpenSource #Programming
Great Work. Keep it up.
Thanks.
Saptadeep.
Thank you so much, highly appreciated 😀🙌
brooo, this is crazy donation
Sir send me some money also
@@salman1098😂😂😂
Bhai mne do din se khana nhi khaya hai 200 rupye krdo
I have watched the full video from starting to end and enjoyed it. Its amazing to see how clearly you understand the concept and your command on node syntax 🎉
Bro.. this guy is crazyyyyyyyyy. This was way better than other code videos i watched
Piyush, I am Usman from Pakistan and I really love your videos, The way to tell things from very basic and use drawings for visualizing things and clarity, it's literally just amazing and easy to follow. Thank you so much for such valuable content. Lots of love from Pakistan to you💖
The way you explained made me to learn this topic *Kafka* which I never heard before I scrolled this random video …. hats off to you for teaching like a friend....👏🙌👏
Thank you so much bro, you really don't know how much help you have made by explaining this concept so easily 🙏🙏
What a brilliant explanation! I wasn't familiar with Kafka before, and you explained it in layman's language superbly! Kudos to you. Keep creating videos like this!
What a true sentence "Half knowledge is very dangerous". Good work buddy. Sweetly swallowing the bitter medicine.
The Way @Piyush is teaching is amazing. I just opened video to over through but ended up watching it completely. I'm working as Sr. Software Engineer and can say that this is bater then many paid videos.
Thanks Man.
Lemme try:
Kafka is a distributed message queue, generally used to decouple micro services where one api produces some data, and many others consumes it. Simple.
I don't know why he confused people with DB and Kafka. Kafka is really a queue, you only read data sequentially. Kafka CAN hold data for an infinite period if you want. But it's not made for 'querying' data, instead, it holds the data temporarily so that the producer api don't need to wait for the consumer api to 'read' this data, it can simply dump the data onto the queue and let consumer api read whenever it finds time for it.
If you're even a little confused between Kafka and a DB, this guy is to blame for that.
KafkaStreams and ksqldb, built on top of kafka. But yes you are right!
He is right, he is telling the working of kafka. It's seems that you only uses the technology not understand there working.
When he tried to give definition of throughput, I knew it's time to move to some other video. Bro just keep on repeating zomato uber example multiple times.
I assume you would have better videos on TH-cam for explaining Kafka, if you are blaming him for confusing others.
If not, then appreciate his efforts for teaching for free,
@@BANANAS2011 Appreciate efforts who give will give you alcohol when thirsty? Why are you braindead?
although I do not know node.js but the way you taught kafka its simply awesome.
Great job piyush on explaining the details both visually and with the code approach 💯
While getting the hang of kafka as we go further i started to get the question of how kafka does the message transfer and when you talked about queue and sna architecture approach it clicked the brain. It's the similar how amazon SNS and SQS services works and from that point things got a lot for relatable.
I had a chance to work with pusher messaging service which had the similar pub/sub messaging architecture.
This kafka session turned out to be really amazing.
Looking forward for more of something like this in future.
This is the best kafka course I have watched on youtube
Great lecture….. in one hour you can easily visualise and learn all about kafka in and out. The best part of the video is when he is coding along with visualising what he is coding.
Your visual way of teaching is too good, thanks mate
I've watched the full video through to the finish and really enjoyed it. Your command of node syntax and your obvious comprehension of the subject are outstanding. 🎉
It came randomly to my recommendation and I clicked on it…before I had only heard of Kafka but you explained it so well. I don’t know if I’ll be using this stuff anytime soon but sure as hell won’t forget how it works ❤
same
Really, you literally took me into the world of kafka. Seriously your explanation is superb.
i so happy that i found your Channel , I was browsing through your channel and found you have created really good content on the things which are currently trending.Thank you ❤
Thanks for the crash course, maybe this is my first course which I watched completely and understood completely.
Best video on kafka ever. Loved your simple explanation and demo with visualiztion.
You have explained it in very simpler way. Thanks to you man ☺
Kya video banaya hai Bhai Saab..Top notch..1 hour full utilised..
Great Work. You have provided the example which will be never forgotten.
What a great explanation! Hats off to you, sir. I'm wondering why you have only 11K subscribers. You deserve millions!
Not many people interested in Kafka know Hindi, and not many people who know Hindi wants to know Kafka.
he is already at 49k in 2months
@@DanielSmith-hd9iq 60k when i joined
68k when I joined .. nice explanation
@@sandeep_khangar72k when I joined
Was waiting for "Why kafka has such a high throughput" answer.
Great explanation, thank you for the effort.
I tried many youtube courses for kafka but your way of explaning is so great.. please keep the good work..
Amazingly simplified explanation, superb!
Bhai I rarely comment for TH-cam video.. I am mechanical engineer by profession & recently got inspired to learn Data Engineering stack... And you made my day..what a great video to understand Kafka fundamentals... God bless you man with lots of happiness and success... You are great teacher.... Would love to see your crash course as first crash course for anything new learning i will be planning for in future....
The way of explaining was extremely good, idk why your Channel is so underrated 💥
Got this channel randomly, you’re a gem ❤
All my Kafka concepts are finally clear today!
WOW!!!!!!!!!!!!! Excellent , You deserve more than what i'm writing.....
Really awesome vedio , good understanding , Hindi m h toh attention span bhi acha rha ! Great job
BEST EXPLAINATION. I'm so sad that I have discovered this channel soo late.
bro, you are the only Indian TH-camr explaining/teaching real world tech.
In an Iron Man movie, Kafka could have been useful in a scene where Tony Stark (Iron Man) needs to process and manage a large volume of real-time data or communications. Here's a hypothetical scenario where Kafka could play a role:
Scene: Tony Stark is in his high-tech lab, and he's remotely controlling his Iron Man suit, which is deployed in a distant location to handle a crisis. He needs to receive and process real-time data from various sensors on the suit, such as vital signs, telemetry data, and external environmental data, while also receiving live video feeds.
How Kafka could be useful:
1. **Real-time Data Ingestion**: Kafka could be used to ingest data from these sensors and video feeds in real-time. Each type of data (vital signs, telemetry, video) could be treated as a separate Kafka topic.
2. **Data Processing**: Tony needs to process this data for real-time decision-making. Kafka Streams, a component of Kafka, could be used to perform real-time data processing, such as analyzing vital signs for signs of distress, stabilizing the suit's functions, and identifying threats in the video feed.
3. **Reliability**: In a high-stakes situation like this, Kafka's reliability ensures that no data is lost. If there are network interruptions or delays, Kafka can buffer and replay messages, ensuring that Tony has access to all the critical data.
4. **Scalability**: If the crisis intensifies and more data needs to be processed, Kafka can scale horizontally by adding more Kafka brokers, allowing Tony to handle the increased data flow without performance issues.
5. **Monitoring**: Kafka provides extensive monitoring capabilities, which could be depicted in the movie as Tony monitoring the health of the data pipeline in real-time, ensuring that he has a clear view of the suit's status.
In this scenario, Kafka would enable Tony Stark to efficiently manage and respond to real-time data, enhancing his ability to control the Iron Man suit and handle the crisis effectively. It would add a layer of realism to the technological aspects of the movie.
Team Iron Man!!!
Please mark this to @marvel as they need this data :0
Thank you I am learning spring boot this is very helpful.
Genuinely one of the best crash course on youtube I have come across in a while
Thank you
Can you also have further video on such topics like data indexing and sharding
TLDW;
Databases have low throughput while Kafka has high throughput but Databases have better storage compared to Kafka.
Kafka is a Messaging service that can act as both a Message Queue and Pub-Sub pattern produced by Linkedin and Apache.
Kafka requires zookeeper (another service from Apache) for load balancing.
Kafka can have topics and the topics can be further stored in partition.
One consumer can consume to multiple topics and the partition is self balanced by kafka but one partition can't be consumed by multiple consumers this way Kafka act as message queue.
In order to act as Pub-Sub, Kafka has a concept of Group, Consumers in same groups that subscribed to a topic gets the topic from partition, self balanced by Kafka but all the groups also get all the Partition, this way it act as Pub-Sub as well.
Kafka has admin which has task for creating topics and partition etc, producers that produces data, consumer that consumes data.
crisp explanation. Great way describing each concept
Thanks for this content. For first time I attempted to listen to a texh content while I was busy with mundane work and got a wonderful idea and understanding of Kafka. Tomorrow morning I shall implement this and also read further on event driven architecture.🎉
Thanks again
Use this whole scenario with a database. Thanks in advance for this soundful knowledge....
Thank you for the hard work. DB throughput is low because of ACID properties which is not possible in case of Bulk Insert that is without redo/undo so there is a huge risk of data loss but in the cases of Junk data ( Facebook, discord, etc) you accept the risk. In case of financial transactions you need to come up with a strategy where Kafka when full storage and failures in database stops producing until consumer errors are fixed to avoid data loss.
so basic explanation with basic examples which is really easy to understand
I always wanted to learn kafka ,
Thank you so much to putting out such great content.
You made me understand every topic where i was struggling
Much Thanks 🙏
Bro, you have a special talent to make difficult topics easy, it was my first kafka tutorial and i understand it well enough, thanks a lot ❤❤
agree
Totally agree ❤❤😥😥
HI Piyush,
This is indeed a crystal clear video about Apache Kafka. Thanks for sharing this wonderful knowledge for the IT developer fraternity. Thanks for this wonderful video and making the concept so clear.
Super interesting and one of the simplest and consumable explanation. 👏
This is awesome explanation simple , clear and concise with humble tone.
Thank you very much for a great content and explanations on kafka, you made it very clear, and easy in understanding the topic.🙂❤✌
Great appreciated to you, You are the one of my favourite you tubers. Keeps continue this type of video regularly. Thanks you so much.
It's great and depth knowledge about Kafka by piyush and he is putting (hard +smart)work to spread best knowledge......
Yygv
Yygvvvvv
Perfect explanation. Also Liked the way of presentation starting with real life problem and ending with actual implementation of it.❤❤
One of the great crash course video on Kafka. Great work Piyush 🏆
Wonderful explanation.. Loved the way you explained it minutely..Thanks for the amazing video..!!
Thanks for this amazing course ❤
This is one of the best tutorial on Kafka, Thank you :)
😮 the way you explain at 1.75x is so cool. I never knew what Kafka is now I feel like a Kafka expert.
this channel is a gold mine.
Thank you soo much for such a great explanation, very crisp n clear it is. 🤝❤️
This is the first video I discovered in this channel.
Maja aa gaya bhai.
Thank You!
Very Clear and Concise explanation! The way you dumb down complex topics for your audience is remarkable! Keep up the good work :)
Excellent, mind blowing explanation THE BEST you can say
Great watch just before an interview!
Thank you so much .
Very easy explanation ... Good work
Appreciating your efforts
Crystal Clear. Thank you so much.
one of the best you tube channel found on you tube. you are doing great work bro ❤❤
I have no words this video is amazing please make whole series for kaflka please...........
One of the greatest videos I have ever watched!!!! Thanks Piyush bhai
Great work. Understood everybit. One of the best crash courses. Thanks
Thank you for the crisp explanation!😊
your way of delivery of knowledge so smooth ..keep making videos like this .
Bro, Just watched 7 mins of your video and I have to come to the comment section to say that the language you are using is too simple and easy to understand. "Database fat Jayega" 😃. Perfect style to explain a core developer like me. Good Job.
This is really a wonderful explanation. Easy to understand for non-tech person as well. Thanks😀
It was a very good explanation of Kafka, I loved it. I am goind to implement it to my blogging website that I created.
Please continue providing such valuable information ❤
EXCELLANT CONTENT, THE BEST EXPLAINATION I HAVE SEEN ON KAFKA.
You explained it very easily Piyush, Keep pushing such content 👍
bhai boht acha explain karte ho aap. Ek baar me samajh aa jaata haii.
Mazza Agaya, Kaffi Samay Baad Itne Achi Technical Explanation Video Dekha. Yo have a teaching style similar to Brad Traverse.
You are a really good teacher. Hats off
Random recommendation resulted into Kafka learning. Thank you❣
Thank you. Well explained. I really enjoyed watching it. Very Helpful.
Very Good Explanation. Good Example. Good Theory. Good Practicle. Keep it bro.
Amazing crash course!! Loved it!!
Superb explanations Piyush. Thank you so much❤
Layer by layer explaination is finest 👌keep it up 👍
Very nice explanation! You made the concepts very simple to understand
Excellent delivery of the concept thanks man!
amazing! best crash course video on kafka.
Very beautifully explained! Thank you sir for uploading these videos.
very easy to understand explanation, Thank you ! keep it up !
I really learn from your vedios, can you please make vedios on the topics :-
1. design pattern in js
2. React with typescript
3. Typescript standalone course
4. Next js
5. Full stack application build from scratch
6. Asynchronous processing
7. Messages queue
8. Redis
10. Jenkins
11. Advance react js
you don't need a course to learn typescript/react-typescript u just need to use it
For 6th and 7th, I would highly recommend Namaste Javascript playlist of Akshay Saini
@@caresbruh bri i need job but dint have skill can u tell me how can i get skill can u tell me hindi you tube channel for fresher i want join so fast in fornend plz reply
To sabse pehle ham smjhenge kafka hota kya.
Ham dekhenge ki kafka kya hota hai.
Ye boht important hai ki ham jaane ki kafka kya hota hai.
Mai aapko btaunga ki kafka hota kya hai.
We'll see what kafka is. :) Boht ache!
bhai, kya explanation dete ho yaar, maza aagaya
Thank you so much for the great explanation!
apka explaination acha tha bhaiya
video ka har ek part samajh aya
you are best brother , keep going and yeah I would also love to see video on elastic search
You are a gem Hats off to you mate