Apache Kafka in 6 minutes

2018 ж. 14 Қыр.
933 225 Рет қаралды

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

Пікірлер
  • 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🧔‍♂👋🎩

    @moveonvillain1080@moveonvillain10808 күн бұрын
  • Finally a tutorial using examples instead of abstract concepts. Thanks!

    @renatoiwashima3890@renatoiwashima38903 жыл бұрын
    • New kafka practical tutorial ..kzhead.info/sun/oNCBYN1vfYGrno0/bejne.html

      @evisionwithjps602@evisionwithjps6022 жыл бұрын
  • 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.

    @SaurabhP-gm3bt@SaurabhP-gm3bt4 жыл бұрын
    • New kafka practical tutorial ..kzhead.info/sun/oNCBYN1vfYGrno0/bejne.html

      @evisionwithjps602@evisionwithjps6022 жыл бұрын
    • You are right 👍

      @python2448@python24482 жыл бұрын
  • Would love to see more Kafka subjects communicated this way, awesome to give to a team to get basic concepts down.

    @georgelza@georgelza4 жыл бұрын
  • 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.

    @zhengqingpei7136@zhengqingpei71368 ай бұрын
  • 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.

    @ravisemwal5363@ravisemwal53634 жыл бұрын
  • 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 KZhead. Thank you.

    @bstancel12@bstancel124 жыл бұрын
  • Hours of Kafka technology within 6 mins. And that too crystal clear. Hats off.

    @swarupdas5147@swarupdas51472 жыл бұрын
  • What an explanation. In 6 minutes so many details and so clear. This requires real talent

    @giorgi23@giorgi232 жыл бұрын
  • This 6 minutes made my day! What a crisp explanation. No bullshit straight and on point.

    @vinayreddy1103@vinayreddy11039 ай бұрын
  • Thorough Notes Apache Kafka is a solution to the problems faced by the distribution and scaling of messaging systems. Kafka is used to design a system that listens to various basketball game updates from various sources and displays the game's status on various channels such as mobile devices and computer browsers. In the architecture, a process called a producer reads these updates and writes them in a queue. Downstream processes called consumers consume these updates to display them on the various channels. As the system expands to follow more games, the servers struggle to handle the load due to the queue being hosted on one server which is running out of memory and processing capacity. To add more computing power, the architecture needs to be distributed. However, distributing a queue data structure can lead to consuming updates in the wrong order, resulting in inconsistencies. Kafka allows the application to specify the way to distribute the items in the queue. In the example, items are distributed using the match name, ensuring that updates from the same match are on the same queue, maintaining an ordering per basketball match. Each queue in Kafka is called a 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. Each item in a partition is called a record. The field used to decide which partition the record should be stored in is called the partition key. If no key is specified, Kafka assigns a random partition. A grouping of partitions handling the same type of data is called a topic. Each record in a topic is identified by a partition number and an offset. Kafka allows for parallelizing consumer applications, with one consumer per partition guaranteeing ordering per game. Consumers can live on one machine or distributed amongst multiple ones. Consumers in Kafka are lightweight and many can be created without affecting performance. Kafka only needs to maintain the latest offsets read by each consumer. Consumers belonging to the same consumer group do not share partitions, meaning each consumer reads different records from the other consumers. Kafka provides various policies that allow it to do a record cleanup. For example, using a retention policy, you can provide a record age limit after which the records are automatically deleted. Kafka stores 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. 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.

    @1921Designs@1921Designs10 ай бұрын
  • 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!

    @chrise202@chrise2022 жыл бұрын
  • Hours of knowledge, juiced up in 6 minutes. Amazing video

    @pankajpundir3410@pankajpundir34102 жыл бұрын
  • I was so struggling to understand why Kafka and this is it! to the point and crisp clear explanation . Thankyou !

    @asawari520@asawari5202 жыл бұрын
  • Very Helpful, explained in a very cleaned way. Thanks James for sharing this.

    @coolplayer2512@coolplayer25123 жыл бұрын
  • This is the best video hands down! I can see why Kafka is widely preferred because it's amazing distributed and fault tolerant architecture

    @surbhiagarwal2322@surbhiagarwal2322 Жыл бұрын
  • extremely helpful to cover the base terms & workflow!!! brilliant piece! :D Thanks James

    @dhruva1221@dhruva12214 жыл бұрын
  • Hands down the best video introduction to understanding kafka in 6 mins, liked and subscribed

    @jayeshborgaonkar9166@jayeshborgaonkar91664 жыл бұрын
  • Straightforward explanation in six minutes, thank you.

    @ImranChaudhry@ImranChaudhry9 ай бұрын
  • 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!

    @Sunshine-sv6lw@Sunshine-sv6lw6 ай бұрын
  • Thank you for the detailed example with the matches and the visualization, it really helps to understand the topic intuitively. Keep it up, James!

    @user-uw4ib6jt3m@user-uw4ib6jt3m8 ай бұрын
  • 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.

    @zacharyohare2118@zacharyohare21189 ай бұрын
  • Please make more such videos. Your content is good. Thank you for bringing this. The video is to the point.

    @pratikshapanwar1552@pratikshapanwar15523 жыл бұрын
  • 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.

    @shlomokon@shlomokon Жыл бұрын
  • One of the best video to learn about Kafka basics … Simple and very clear , Thanks a lot

    @essskkk@essskkk2 жыл бұрын
  • James, really liked this tutorial! Concise with fantastic illustrations. Bravo

    @alimomeni4777@alimomeni4777 Жыл бұрын
  • Excellent video, great explanation and visual representation. Amazing job!

    @TheDQR@TheDQR Жыл бұрын
  • Best intro to Kafka video I've seen. Thank you.

    @shanemay-gunlogson9575@shanemay-gunlogson95754 ай бұрын
  • Your way of explanation is Outstanding!! Thanks and keep the good work flowing

    @suvamgupta2914@suvamgupta291411 ай бұрын
  • 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

    @contactsrividya@contactsrividya2 жыл бұрын
  • Simple, clear and concise.. That's how teaching should be.. Kudos!

    @prakharlondhe3876@prakharlondhe38763 жыл бұрын
    • It started off clear, but got very confusing after half way.

      @fieryscorpion@fieryscorpion Жыл бұрын
    • @@fieryscorpion same feeling but it seems like I am too stupid for now to understand the second part. this might be the reason

      @27sosite73@27sosite738 ай бұрын
  • Simple clear and concise. Thank you James

    @mosalman5174@mosalman51746 ай бұрын
  • Great video. Although I never use Kafka before, it is very clear for me to understand the its mechanism under the hood. Thank you.

    @sephyshen2510@sephyshen25102 жыл бұрын
  • Very well done man, simplified demonstration

    @ravitejapenki@ravitejapenki3 жыл бұрын
  • This is the best explanation I have found on internet on the topic many thanks :)

    @rajeevmahajan9227@rajeevmahajan92272 жыл бұрын
  • Awesome video! Great intro with just the right amount of information.

    @shibu9389@shibu93892 жыл бұрын
  • Amazing example, great graphics and very neat explanation. Thank u for the video!

    @travelchimps6637@travelchimps6637 Жыл бұрын
  • This is the fantastic video I ever watched on Kafka understanding.

    @RamakrishnanParameswaran@RamakrishnanParameswaran2 жыл бұрын
  • ❤ Wohoooooo! Simplicity at its peak. Thanks for explaining Kafka in a simplistic way.

    @yogeshkurane123@yogeshkurane12310 ай бұрын
  • Excellent Video, in just 6 mins you have covered core concepts of the Apache kafka.

    @rajaramarumugam3878@rajaramarumugam3878 Жыл бұрын
  • Best and easy summary on Kafka. Pls keep posting useful videos like this.

    @prathibavijayasekaran4173@prathibavijayasekaran4173 Жыл бұрын
  • This is a perfect video explaining the core concepts of Kafka

    @sriramakrishnabattu3408@sriramakrishnabattu34082 жыл бұрын
  • One of the best explanation of KAFKA to understand simply

    @itgurukul@itgurukul2 жыл бұрын
  • Really very simple, and complete, description of Kafka. Thx!. Subscribed

    @nenapse7750@nenapse77503 жыл бұрын
  • Thanks, James... Please post more videos. Precise and clear

    @rittikaghatak7318@rittikaghatak73182 жыл бұрын
  • Awesome video. Simple and super clear!!

    @sachinnaik4849@sachinnaik48492 жыл бұрын
  • Best kafka intro so far. great video. thanks a lot

    @bikashkarmokar@bikashkarmokar2 жыл бұрын
  • Excellent explanation! I just felt frustrated for not finding a Kafka course on your list!

    @edytarciopereira3461@edytarciopereira34614 жыл бұрын
  • James very simple and easy to understand

    @deepusun@deepusun4 жыл бұрын
  • Watched many videos on Kafka but this is what i was looking for. Thanks for the simple yet effective tutorial for beginners. Loved it.

    @Shruti_starlight@Shruti_starlight3 жыл бұрын
    • Shruti

      @George-mk7lp@George-mk7lp2 жыл бұрын
  • loved it ! simply explained , to the point .Thankyou

    @creaturerohit@creaturerohit Жыл бұрын
  • the basic terms explained very very well.. Thank you.

    @dishaponkiya1836@dishaponkiya18363 жыл бұрын
  • Great intro to the fundamentals! Great use of example too

    @kshow666@kshow6662 ай бұрын
  • Truly Exceptional ! Thanks for making this.

    @amrutnandedkar2840@amrutnandedkar28402 жыл бұрын
  • You just nailed it very well. Thanks for the great explanation. Indeed, it was useful for me :)

    @Vinod_Kumar827@Vinod_Kumar8272 жыл бұрын
  • Really concise overview of Kafka. Thank you.

    @BryanChance@BryanChance Жыл бұрын
  • Really amazing video, I've subscribed without thinking about it.

    @tabliqatchi6696@tabliqatchi6696 Жыл бұрын
  • view a lot of videos about kafka, and you 're video is the best one

    @mikahoy@mikahoy6 ай бұрын
  • So greatly explained! Really helpful.

    @AvinashThombrethe_leo@AvinashThombrethe_leo Жыл бұрын
  • Straightforward and intuitive video. Thx!!!

    @glui2001@glui2001 Жыл бұрын
  • Great explanation Sir 🙏from India 🇮🇳..will follow your classes from now❤

    @nagasai6668@nagasai666811 ай бұрын
  • Thank you for explaining this with an example! 😊

    @pranavbhat92@pranavbhat92 Жыл бұрын
  • Great introductory video! Thanks!

    @alishiram@alishiram2 жыл бұрын
  • 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?

    @mandeepbhogal7502@mandeepbhogal7502 Жыл бұрын
  • 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

    @rameshsoundarrajan3831@rameshsoundarrajan3831 Жыл бұрын
  • such a great video with great explanations and examples. learned a lot!! thanks!!!!

    @yulia0g@yulia0g11 ай бұрын
  • you explained it so nicely and in a simple way.

    @deepakrai5175@deepakrai5175 Жыл бұрын
  • I loved this video....nice presentation..........super simple to understand

    @abhinavtripathi970@abhinavtripathi9704 жыл бұрын
  • the most clear explanation of kafka I ve seen

    @jayjaayjaaay94@jayjaayjaaay94 Жыл бұрын
    • AGREE,

      @arona2211@arona2211 Жыл бұрын
  • Its crazy how good this video is

    @griglog1309@griglog13096 ай бұрын
  • Thank you so much for the this video. The diagrams really helped me understand this better.

    @smoideen@smoideen9 ай бұрын
  • Great and very good summary of Kaffka in small amount of time

    @HarpreetSingh-xr6em@HarpreetSingh-xr6em Жыл бұрын
  • Best explanation under 7 minutes!!

    @DeepakSingh-ji3zo@DeepakSingh-ji3zo Жыл бұрын
  • Love the brevity of the video !

    @ketanjoshi4568@ketanjoshi45682 ай бұрын
  • James what a Content with everything ..Thanks !! keep uploading

    @Raadha_Ji@Raadha_Ji Жыл бұрын
  • Looking for more content like this. Thanks!

    @user-nx1jc7wq8n@user-nx1jc7wq8n8 ай бұрын
  • great video. your animations really supported what you said.

    @franziskakuesters1091@franziskakuesters10914 жыл бұрын
  • Very well designed and created content, thank you for sharing :)

    @GeorgeZoto@GeorgeZoto Жыл бұрын
  • Amazing "nutshell" intro to kafka. thanks.

    @A.n.a.n.d.@A.n.a.n.d.2 жыл бұрын
  • Very well explained. keep up the good work. Your videos will help a lot.

    @ashwinmarathe9844@ashwinmarathe98449 ай бұрын
  • this is way better than the other kafka in 5mins video on youtube

    @brothermalcolm@brothermalcolm2 жыл бұрын
  • Amazing video man, very helpful !! Thanks for this .

    @udit2114@udit2114 Жыл бұрын
  • extremely helpful! Thanks James!

    @pepper856@pepper85620 күн бұрын
  • Thanks a lot for the succinct introduction!

    @vitalyv301@vitalyv30110 ай бұрын
  • James, thank you so much for this video. I love Basketball too and so it particularly appealed to me.

    @charlesopuoro5295@charlesopuoro5295 Жыл бұрын
  • To add Kekfa helps to achieve 2 main goals 1. Use Ques for async communication 2. Achieve a pub-sub model

    @shivamanand8998@shivamanand8998Ай бұрын
  • Amazing. You just reduced 50 hours of research for me ❤

    @manju4ever222@manju4ever222 Жыл бұрын
  • This is an amazing recap! Thanks

    @shimesami@shimesami2 жыл бұрын
  • 100% Perfect introduction to Kafka

    @NikhilThota-ry5pn@NikhilThota-ry5pn7 ай бұрын
  • As Einstein said - 'If you can't explain it simply, you don't understand it well enough.' Perfect explaination for a beginner. Thanks much.

    @saurabhsharma6209@saurabhsharma62093 жыл бұрын
    • New kafka practical tutorial ..kzhead.info/sun/oNCBYN1vfYGrno0/bejne.html

      @evisionwithjps602@evisionwithjps6022 жыл бұрын
  • Wow.. thanks for the clear explanation ❤

    @sruthiravi8464@sruthiravi8464 Жыл бұрын
  • Thank you so much this was perfect explanation!

    @sammiethompson1672@sammiethompson16727 ай бұрын
  • Thank you so much James. Very well Delivered .....!!!!

    @vijaygavandar1956@vijaygavandar19562 жыл бұрын
  • This video was amazing. New subscriber!

    @andydataguy@andydataguy Жыл бұрын
  • Wonderful video !! Thank you for detailed info

    @sairavib2865@sairavib28652 жыл бұрын
  • Great video this Had a hard time understanding the fundamentals of how it works.

    @djdrastic1@djdrastic17 ай бұрын
  • Sir, this video is just awesome !!

    @tungle6068@tungle60682 жыл бұрын
  • thank you sir for this wonderful explanation !!

    @nandiniagrawal393@nandiniagrawal393 Жыл бұрын
  • Wonderful job,... very nice 6 min video...

    @lsranganath9054@lsranganath90543 жыл бұрын
  • it is really easy to get basic things of Apache Kafka Thanks

    @nguyenthaimoc4485@nguyenthaimoc4485 Жыл бұрын
KZhead