Apache Kafka in 6 minutes

  Рет қаралды 956,991

James Cutajar

James Cutajar

5 жыл бұрын

A quick introduction to how Apache Kafka works and differs from other messaging systems using an example application. In this video I explain partitioning, consumer offsets, replication and many other concepts found in Kafka.
Please support me through my Udemy courses:
Pass your coding interview in
Java : www.udemy.com/course/beat-the...
Python: www.udemy.com/course/beat-the...
Ruby: www.udemy.com/course/beat-the...
JavaScript: www.udemy.com/course/beat-the...
Learn Dynamic Programming in,
Java: www.udemy.com/course/dynamic-...
Python: www.udemy.com/course/dynamic-...
Ruby: www.udemy.com/course/dynamic-...
Multithreading in,
Go Lang: www.udemy.com/course/multithr...
Python: www.udemy.com/course/parallel...
Java: www.udemy.com/course/master-p...
Book on Kafka (Manning publications):
www.manning.com/books/kafka-i...
Blog: www.cutajarjames.com

Пікірлер: 264
@moveonvillain1080
@moveonvillain1080 Ай бұрын
Idk how many videos I went over but not a single one would say that partition in Kafka is JUST A QUEUE. They would unnecessarily make it complicated with more technical jargon. Thank You good Sir🧔‍♂👋🎩
@sarwajeetbharti2856
@sarwajeetbharti2856 27 күн бұрын
I felt the same ,bro 👍
@SaurabhP-gm3bt
@SaurabhP-gm3bt 4 жыл бұрын
James, this is a great video. It goes to enough technical details and a perfect first video on Kafka. It should have a million views, really. Please keep posting and sharing your knowledge. Thank you.
@evisionwithjps602
@evisionwithjps602 3 жыл бұрын
New kafka practical tutorial ..kzfaq.info/get/bejne/o9J4Y9xoq7XZm4k.html
@python2448
@python2448 2 жыл бұрын
You are right 👍
@renatoiwashima3890
@renatoiwashima3890 3 жыл бұрын
Finally a tutorial using examples instead of abstract concepts. Thanks!
@evisionwithjps602
@evisionwithjps602 3 жыл бұрын
New kafka practical tutorial ..kzfaq.info/get/bejne/o9J4Y9xoq7XZm4k.html
@georgelza
@georgelza 4 жыл бұрын
Would love to see more Kafka subjects communicated this way, awesome to give to a team to get basic concepts down.
@giorgi23
@giorgi23 2 жыл бұрын
What an explanation. In 6 minutes so many details and so clear. This requires real talent
@ravisemwal5363
@ravisemwal5363 4 жыл бұрын
This is exactly how an introduction to a tool should be made. Thanks James, liked and subscribed! I've seen a lot of these videos about user organisations and purpose, but not the exact problem they solved using this.
@bstancel12
@bstancel12 4 жыл бұрын
Wow! You created a great video - informative and concise. It gives enough technical details, but not too many in a short amount of time. Rarely do you see technical videos this well made on KZfaq. Thank you.
@i_vinny
@i_vinny 10 ай бұрын
This 6 minutes made my day! What a crisp explanation. No bullshit straight and on point.
@pankajpundir3410
@pankajpundir3410 2 жыл бұрын
Hours of knowledge, juiced up in 6 minutes. Amazing video
@swarupdas5147
@swarupdas5147 2 жыл бұрын
Hours of Kafka technology within 6 mins. And that too crystal clear. Hats off.
@chrise202
@chrise202 2 жыл бұрын
What on earth was that? The most useful introduction I encountered to watch. Not only it addresses a lot of technical Q&As but also does it in a visual, perceptive and intuitive manner!
@coolplayer2512
@coolplayer2512 3 жыл бұрын
Very Helpful, explained in a very cleaned way. Thanks James for sharing this.
@ImranChaudhry
@ImranChaudhry 10 ай бұрын
Straightforward explanation in six minutes, thank you.
@asawari520
@asawari520 2 жыл бұрын
I was so struggling to understand why Kafka and this is it! to the point and crisp clear explanation . Thankyou !
@surbhiagarwal2322
@surbhiagarwal2322 Жыл бұрын
This is the best video hands down! I can see why Kafka is widely preferred because it's amazing distributed and fault tolerant architecture
@dhruva1221
@dhruva1221 4 жыл бұрын
extremely helpful to cover the base terms & workflow!!! brilliant piece! :D Thanks James
@Sunshine-sv6lw
@Sunshine-sv6lw 7 ай бұрын
Only a person who has deep knowledge on a subject can explain anything with clarity in a short video. Looking forward to more videos from you!
@zhengqingpei7136
@zhengqingpei7136 9 ай бұрын
I love how you don't just jump into the current implementation, but rather, goes through the thought process of starting out with single server setup, addressing issues, and then leading up to how Kafka handles it. Nice video. The videos help, the explanations are crystal clear and detailed too.
@essskkk
@essskkk 2 жыл бұрын
One of the best video to learn about Kafka basics … Simple and very clear , Thanks a lot
@jayeshborgaonkar9166
@jayeshborgaonkar9166 4 жыл бұрын
Hands down the best video introduction to understanding kafka in 6 mins, liked and subscribed
@TheDQR
@TheDQR Жыл бұрын
Excellent video, great explanation and visual representation. Amazing job!
@pratikshapanwar1552
@pratikshapanwar1552 3 жыл бұрын
Please make more such videos. Your content is good. Thank you for bringing this. The video is to the point.
@ravitejapenki
@ravitejapenki 3 жыл бұрын
Very well done man, simplified demonstration
@zacharyohare2118
@zacharyohare2118 10 ай бұрын
This is THE way to teach concepts as an introduction... I know because I already have questions about limitations and applications, and I'm thinking of a lot of other services that use something similar or actually are using K somewhere underneath; services I didn't REALLY understand, and now make much more sense. Thank you.
@shanemay-gunlogson9575
@shanemay-gunlogson9575 5 ай бұрын
Best intro to Kafka video I've seen. Thank you.
@alimomeni4777
@alimomeni4777 Жыл бұрын
James, really liked this tutorial! Concise with fantastic illustrations. Bravo
@Shruti_starlight
@Shruti_starlight 3 жыл бұрын
Watched many videos on Kafka but this is what i was looking for. Thanks for the simple yet effective tutorial for beginners. Loved it.
@George-mk7lp
@George-mk7lp 2 жыл бұрын
Shruti
@mosalman5174
@mosalman5174 7 ай бұрын
Simple clear and concise. Thank you James
@shlomokon
@shlomokon Жыл бұрын
What a great video! Perfect balance between an illustrating example and technical depth. Easy to follow along. I tried another video before, with which started out talking about "source systems" and "target systems", never explaining what they mean by those, without any illustrating example, and that video lost me right away. In contrast, yours easily made sense from the first second and was easy to follow along as you kept adding depth incrementally.
@user-uw4ib6jt3m
@user-uw4ib6jt3m 9 ай бұрын
Thank you for the detailed example with the matches and the visualization, it really helps to understand the topic intuitively. Keep it up, James!
@suvamgupta2914
@suvamgupta2914 Жыл бұрын
Your way of explanation is Outstanding!! Thanks and keep the good work flowing
@sephyshen2510
@sephyshen2510 2 жыл бұрын
Great video. Although I never use Kafka before, it is very clear for me to understand the its mechanism under the hood. Thank you.
@prakharlondhe3876
@prakharlondhe3876 3 жыл бұрын
Simple, clear and concise.. That's how teaching should be.. Kudos!
@fieryscorpion
@fieryscorpion Жыл бұрын
It started off clear, but got very confusing after half way.
@27sosite73
@27sosite73 9 ай бұрын
@@fieryscorpion same feeling but it seems like I am too stupid for now to understand the second part. this might be the reason
@RamakrishnanParameswaran
@RamakrishnanParameswaran 2 жыл бұрын
This is the fantastic video I ever watched on Kafka understanding.
@nenapse7750
@nenapse7750 3 жыл бұрын
Really very simple, and complete, description of Kafka. Thx!. Subscribed
@sachinnaik4849
@sachinnaik4849 2 жыл бұрын
Awesome video. Simple and super clear!!
@itgurukul
@itgurukul 2 жыл бұрын
One of the best explanation of KAFKA to understand simply
@shibu9389
@shibu9389 2 жыл бұрын
Awesome video! Great intro with just the right amount of information.
@rittikaghatak7318
@rittikaghatak7318 2 жыл бұрын
Thanks, James... Please post more videos. Precise and clear
@rajaramarumugam3878
@rajaramarumugam3878 Жыл бұрын
Excellent Video, in just 6 mins you have covered core concepts of the Apache kafka.
@sriramakrishnabattu3408
@sriramakrishnabattu3408 2 жыл бұрын
This is a perfect video explaining the core concepts of Kafka
@travelchimps6637
@travelchimps6637 Жыл бұрын
Amazing example, great graphics and very neat explanation. Thank u for the video!
@Tekno1796
@Tekno1796 Күн бұрын
Thank you so much for this video. Summarizes the general concepts brilliantly.
@dishaponkiya1836
@dishaponkiya1836 3 жыл бұрын
the basic terms explained very very well.. Thank you.
@deepusun
@deepusun 4 жыл бұрын
James very simple and easy to understand
@prathibavijayasekaran4173
@prathibavijayasekaran4173 Жыл бұрын
Best and easy summary on Kafka. Pls keep posting useful videos like this.
@rajeevmahajan9227
@rajeevmahajan9227 2 жыл бұрын
This is the best explanation I have found on internet on the topic many thanks :)
@creaturerohit
@creaturerohit Жыл бұрын
loved it ! simply explained , to the point .Thankyou
@BryanChance
@BryanChance Жыл бұрын
Really concise overview of Kafka. Thank you.
@contactsrividya
@contactsrividya 2 жыл бұрын
Wow this is a great video ! I am about to take couple of virtual onsite interviews for data engineer role and looking for a short video to explain Kafa.. This is the best video !! Thanks
@alishiram
@alishiram 2 жыл бұрын
Great introductory video! Thanks!
@amrutnandedkar2840
@amrutnandedkar2840 2 жыл бұрын
Truly Exceptional ! Thanks for making this.
@abhinavtripathi970
@abhinavtripathi970 4 жыл бұрын
I loved this video....nice presentation..........super simple to understand
@glui2001
@glui2001 Жыл бұрын
Straightforward and intuitive video. Thx!!!
@yogeshkurane123
@yogeshkurane123 11 ай бұрын
❤ Wohoooooo! Simplicity at its peak. Thanks for explaining Kafka in a simplistic way.
@bikashkarmokar
@bikashkarmokar 2 жыл бұрын
Best kafka intro so far. great video. thanks a lot
@AvinashThombrethe_leo
@AvinashThombrethe_leo Жыл бұрын
So greatly explained! Really helpful.
@edytarciopereira3461
@edytarciopereira3461 4 жыл бұрын
Excellent explanation! I just felt frustrated for not finding a Kafka course on your list!
@Vinod_Kumar827
@Vinod_Kumar827 2 жыл бұрын
You just nailed it very well. Thanks for the great explanation. Indeed, it was useful for me :)
@tabliqatchi6696
@tabliqatchi6696 Жыл бұрын
Really amazing video, I've subscribed without thinking about it.
@SamirJahchan
@SamirJahchan 29 күн бұрын
It was very well presented, in a simple and effective way. This put me on the page about Kafka technology.
@yulia0g
@yulia0g Жыл бұрын
such a great video with great explanations and examples. learned a lot!! thanks!!!!
@pranavbhat92
@pranavbhat92 Жыл бұрын
Thank you for explaining this with an example! 😊
@franziskakuesters1091
@franziskakuesters1091 4 жыл бұрын
great video. your animations really supported what you said.
@deepakrai5175
@deepakrai5175 Жыл бұрын
you explained it so nicely and in a simple way.
@nagasai6668
@nagasai6668 Жыл бұрын
Great explanation Sir 🙏from India 🇮🇳..will follow your classes from now❤
@DeepakSingh-ji3zo
@DeepakSingh-ji3zo Жыл бұрын
Best explanation under 7 minutes!!
@GeorgeZoto
@GeorgeZoto Жыл бұрын
Very well designed and created content, thank you for sharing :)
@rameshsoundarrajan3831
@rameshsoundarrajan3831 Жыл бұрын
What a fantastic video... Made very very simple. 4:25 was little tough to understand. all others were made very very simple and easy to understand. You are amazing
@kshow666
@kshow666 3 ай бұрын
Great intro to the fundamentals! Great use of example too
@HarpreetSingh-xr6em
@HarpreetSingh-xr6em 2 жыл бұрын
Great and very good summary of Kaffka in small amount of time
@1921Designs
@1921Designs 11 ай бұрын
Transcript: Apache Kafka is the answer to the problems faced by the distribution and the scaling of messaging systems let me try to illustrate this by an example imagine we were to design a system that listens to various basketball game updates from various sources such updates might include game scoring participants and timing information it then displays the games status on various channels such as mobile devices and computer browsers in our architecture we have a process that reads these updates and writes them in a queue we call this process a producer since it's producing these updates onto the queue at the head of this queue a number of downstream processes consume these updates to display them on the various channels we call these processes consumers over time we decide to expand and start following more and more games the problem is that our servers are now struggling to handle the load this is mainly because the queue is hosted on one server which is running out of memory and processing capacity our consumers are also struggling in a similar fashion so now we start thinking of how we can add more computing power by distributing our architecture but how do we go about distributing AQ data structure by its nature the items in a queue follow a specific ordering we could try to randomly distribute the contents of the queue onto multiple ones if we do this our consumers might consume the updates in the wrong order this would result in inconsistencies for example the wrong scoring being displayed across the channels one solution is to let the application specify the way to distribute the items in the queue in our example we could distribute the items using the match name meaning that the updates coming from the same match would be on the same queue this strategy would maintain an ordering per basketball match this is the basic fundamental difference of Kafka from other messaging systems that is item sent and received Kafka require a distribution strategy let's have a look at some more detail and terminology used in Kafka each one of these queues is called the partition and the total number of partitions is called a partition count each server holding one or more of these partitions is called a broker and each item in a partition is called a record the field used decide which partition the record should be stored in it's called the partition key it's up to the application to decide which field to use as the partition key if no key is specified Kafka simply assigns a random partition a grouping of partitions handling the same type of data is called a topic in order to identify each record uniquely Kafka provides a sequential number to each record this is called an offset essentially a recording that topic is identified by a partition number and an offset in our application since we have now distributed our data in the topic using the name as the partition key we can now also parallelize our consumer applications having one consumer per partition guarantees ordering per game consumers can live on one machine or distributed amongst multiple ones one important concept in Kafka is that consumers are very lightweight and we can create many of them without affecting performance this is mainly because Kafka only needs to maintain the latest offsets read by each consumer typically consumers read one record after the other and resume from where they left after a restart however in Kafka it's up to the consumer implementation to decide on how to consume records it's quite common to have consumers to read all the records from the beginning on startup or to read the record in different orders such as reading back to front for example in Kafka each consumer belonging to the same consumer group do not share partitions this means that each consumer would read different records from the other consumers multiple consumer groups are useful when you have different applications reading the same contents in our example we could have a consumer group called mobile and another consumer group called computer these groups will read the same records but update different channels each consumer in these groups will have separate offset pointers to keep track which latest record was read if consumers can read using custom ordering how can Kafka determine that the record has been consumed and it can safely delete that record so it can free up space the answer is that tough comp provides various policies that allow it to do a record cleanup for example using irritation policy you can provide a record age limits say 24 hours after which the records are automatically deleted using this policy if your consumer application is never down for more than this age limit no messages are lost another capability of Kafka is to store records in a fault tolerant and durable way each record is stored on persistent storage so that if a broker goes down it can recover when it comes back up additionally Kafka replicates partitions so that when a broker goes down a backup partition takes over and processing can resume this replication is configured using a replication factor for example a replication factor of three leads to three copies of a partition one leader and two backups this means that we can tolerate up to two brokers going down at the same time Kafka can be a solution to your scalability and redundancy problems if the problem is well stated and the technologies are well understood there are of course a lot more technical and implementation details which can be found on kafkas documentation I hope that this short video has been helpful at providing an introduction but the fundamental concepts in Kafka if you like it please give it a thumbs up and subscribe.
@user-nx1jc7wq8n
@user-nx1jc7wq8n 9 ай бұрын
Looking for more content like this. Thanks!
@Raadha_Ji
@Raadha_Ji Жыл бұрын
James what a Content with everything ..Thanks !! keep uploading
@udit2114
@udit2114 Жыл бұрын
Amazing video man, very helpful !! Thanks for this .
@ThiagoRodrigues-ib5dk
@ThiagoRodrigues-ib5dk 9 күн бұрын
I just needed to watch it to become clear. Thanks a lot.
@smoideen
@smoideen 10 ай бұрын
Thank you so much for the this video. The diagrams really helped me understand this better.
@sairavib2865
@sairavib2865 2 жыл бұрын
Wonderful video !! Thank you for detailed info
@vitalyv301
@vitalyv301 11 ай бұрын
Thanks a lot for the succinct introduction!
@vijaygavandar1956
@vijaygavandar1956 2 жыл бұрын
Thank you so much James. Very well Delivered .....!!!!
@manju4ever222
@manju4ever222 Жыл бұрын
Amazing. You just reduced 50 hours of research for me ❤
@saurabhsharma6209
@saurabhsharma6209 3 жыл бұрын
As Einstein said - 'If you can't explain it simply, you don't understand it well enough.' Perfect explaination for a beginner. Thanks much.
@evisionwithjps602
@evisionwithjps602 3 жыл бұрын
New kafka practical tutorial ..kzfaq.info/get/bejne/o9J4Y9xoq7XZm4k.html
@shimesami
@shimesami 2 жыл бұрын
This is an amazing recap! Thanks
@mikahoy
@mikahoy 7 ай бұрын
view a lot of videos about kafka, and you 're video is the best one
@griglog1309
@griglog1309 7 ай бұрын
Its crazy how good this video is
@A.n.a.n.d.
@A.n.a.n.d. 2 жыл бұрын
Amazing "nutshell" intro to kafka. thanks.
@ketanjoshi4568
@ketanjoshi4568 3 ай бұрын
Love the brevity of the video !
@pepper856
@pepper856 Ай бұрын
extremely helpful! Thanks James!
@mandeepbhogal7502
@mandeepbhogal7502 Жыл бұрын
Clear explanation in 6 minutes...this is the best video to understand how Kafka works and what it solves...thanks...Can you also make a video comparing Kafka with JMS queues?
@Kpopcrumb3725
@Kpopcrumb3725 Жыл бұрын
Hands-on Kafka in 35 minutes!! Checkout out this video playlist here: kzfaq.info/sun/PLSMAAT50NTjRqga9HqKdcA0J_I1h6aw_d , please do subscribe 😊so that I get motivated and keep giving good content.
@jayjaayjaaay94
@jayjaayjaaay94 Жыл бұрын
the most clear explanation of kafka I ve seen
@arona2211
@arona2211 Жыл бұрын
AGREE,
@sammiethompson1672
@sammiethompson1672 8 ай бұрын
Thank you so much this was perfect explanation!
@sruthiravi8464
@sruthiravi8464 Жыл бұрын
Wow.. thanks for the clear explanation ❤
@andydataguy
@andydataguy Жыл бұрын
This video was amazing. New subscriber!
@brothermalcolm
@brothermalcolm 2 жыл бұрын
this is way better than the other kafka in 5mins video on youtube
@ashwinmarathe9844
@ashwinmarathe9844 10 ай бұрын
Very well explained. keep up the good work. Your videos will help a lot.
@lsranganath9054
@lsranganath9054 3 жыл бұрын
Wonderful job,... very nice 6 min video...
@abdelilahaassou6333
@abdelilahaassou6333 2 жыл бұрын
Great explanation, thumbsup!
@pepa007
@pepa007 2 жыл бұрын
Thank you, very nice summary.
@NikhilThota-ry5pn
@NikhilThota-ry5pn 8 ай бұрын
100% Perfect introduction to Kafka
3. Apache Kafka Fundamentals | Apache Kafka Fundamentals
24:14
Confluent
Рет қаралды 446 М.
Про Kafka (основы)
49:23
Владимир Богдановский
Рет қаралды 363 М.
Climbing to 18M Subscribers 🎉
00:32
Matt Larose
Рет қаралды 31 МЛН
Which one of them is cooler?😎 @potapova_blog
00:45
Filaretiki
Рет қаралды 10 МЛН
System Design: Why is Kafka fast?
5:02
ByteByteGo
Рет қаралды 1 МЛН
What is Kafka?
9:17
IBM Technology
Рет қаралды 442 М.
Event-Driven Architecture (EDA) vs Request/Response (RR)
12:00
Confluent
Рет қаралды 116 М.
20 System Design Concepts Explained in 10 Minutes
11:41
NeetCode
Рет қаралды 885 М.
Cache Systems Every Developer Should Know
5:48
ByteByteGo
Рет қаралды 447 М.
A Simple Kafka and Python Walkthrough
11:34
Quix
Рет қаралды 11 М.
Kafka Tutorial - Core Concepts
13:04
Learning Journal
Рет қаралды 914 М.
Apache Kafka Crash Course | What is Kafka?
1:17:04
Piyush Garg
Рет қаралды 399 М.
Apache Kafka Architecture
11:19
Anton Putra
Рет қаралды 15 М.
Climbing to 18M Subscribers 🎉
00:32
Matt Larose
Рет қаралды 31 МЛН