Apache Kafka in 6 minutes

Поділитися
Вставка
  • Опубліковано 14 вер 2018
  • 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

КОМЕНТАРІ • 255

  • @moveonvillain1080
    @moveonvillain1080 7 днів тому +3

    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🧔‍♂👋🎩

  • @renatoiwashima3890
    @renatoiwashima3890 3 роки тому +99

    Finally a tutorial using examples instead of abstract concepts. Thanks!

    • @evisionwithjps602
      @evisionwithjps602 2 роки тому

      New kafka practical tutorial ..ua-cam.com/video/mlH0y7FOukU/v-deo.html

  • @SaurabhP-gm3bt
    @SaurabhP-gm3bt 4 роки тому +285

    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 2 роки тому

      New kafka practical tutorial ..ua-cam.com/video/mlH0y7FOukU/v-deo.html

    • @python2448
      @python2448 2 роки тому

      You are right 👍

  • @georgelza
    @georgelza 4 роки тому +66

    Would love to see more Kafka subjects communicated this way, awesome to give to a team to get basic concepts down.

  • @zhengqingpei7136
    @zhengqingpei7136 8 місяців тому +29

    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.

  • @ravisemwal5363
    @ravisemwal5363 4 роки тому +42

    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 роки тому +15

    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 UA-cam. Thank you.

  • @swarupdas5147
    @swarupdas5147 2 роки тому +6

    Hours of Kafka technology within 6 mins. And that too crystal clear. Hats off.

  • @giorgi23
    @giorgi23 2 роки тому +5

    What an explanation. In 6 minutes so many details and so clear. This requires real talent

  • @coolplayer2512
    @coolplayer2512 3 роки тому +3

    Very Helpful, explained in a very cleaned way. Thanks James for sharing this.

  • @dhruva1221
    @dhruva1221 4 роки тому +3

    extremely helpful to cover the base terms & workflow!!! brilliant piece! :D Thanks James

  • @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!

  • @vinayreddy1103
    @vinayreddy1103 9 місяців тому +2

    This 6 minutes made my day! What a crisp explanation. No bullshit straight and on point.

  • @pankajpundir3410
    @pankajpundir3410 2 роки тому +2

    Hours of knowledge, juiced up in 6 minutes. Amazing video

  • @asawari520
    @asawari520 2 роки тому +1

    I was so struggling to understand why Kafka and this is it! to the point and crisp clear explanation . Thankyou !

  • @jayeshborgaonkar9166
    @jayeshborgaonkar9166 4 роки тому +2

    Hands down the best video introduction to understanding kafka in 6 mins, liked and subscribed

  • @ImranChaudhry
    @ImranChaudhry 9 місяців тому +1

    Straightforward explanation in six minutes, thank you.

  • @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

  • @1921Designs
    @1921Designs 10 місяців тому +2

    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.

  • @TheDQR
    @TheDQR Рік тому +2

    Excellent video, great explanation and visual representation. Amazing job!

  • @pratikshapanwar1552
    @pratikshapanwar1552 3 роки тому +1

    Please make more such videos. Your content is good. Thank you for bringing this. The video is to the point.

  • @Sunshine-sv6lw
    @Sunshine-sv6lw 6 місяців тому

    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!

  • @essskkk
    @essskkk 2 роки тому

    One of the best video to learn about Kafka basics … Simple and very clear , Thanks a lot

  • @zacharyohare2118
    @zacharyohare2118 8 місяців тому +2

    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.

  • @user-uw4ib6jt3m
    @user-uw4ib6jt3m 8 місяців тому

    Thank you for the detailed example with the matches and the visualization, it really helps to understand the topic intuitively. Keep it up, James!

  • @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.

  • @alimomeni4777
    @alimomeni4777 Рік тому

    James, really liked this tutorial! Concise with fantastic illustrations. Bravo

  • @shanemay-gunlogson9575
    @shanemay-gunlogson9575 4 місяці тому

    Best intro to Kafka video I've seen. Thank you.

  • @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.

  • @ravitejapenki
    @ravitejapenki 3 роки тому

    Very well done man, simplified demonstration

  • @deepusun
    @deepusun 4 роки тому +1

    James very simple and easy to understand

  • @contactsrividya
    @contactsrividya 2 роки тому +1

    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

  • @mosalman5174
    @mosalman5174 6 місяців тому

    Simple clear and concise. Thank you James

  • @prakharlondhe3876
    @prakharlondhe3876 3 роки тому +33

    Simple, clear and concise.. That's how teaching should be.. Kudos!

    • @fieryscorpion
      @fieryscorpion Рік тому +2

      It started off clear, but got very confusing after half way.

    • @27sosite73
      @27sosite73 8 місяців тому +1

      @@fieryscorpion same feeling
      but it seems like I am too stupid for now to understand the second part. this might be the reason

  • @suvamgupta2914
    @suvamgupta2914 11 місяців тому

    Your way of explanation is Outstanding!!
    Thanks and keep the good work flowing

  • @sriramakrishnabattu3408
    @sriramakrishnabattu3408 2 роки тому

    This is a perfect video explaining the core concepts of Kafka

  • @itgurukul
    @itgurukul 2 роки тому

    One of the best explanation of KAFKA to understand simply

  • @dishaponkiya1836
    @dishaponkiya1836 3 роки тому +1

    the basic terms explained very very well.. Thank you.

  • @RamakrishnanParameswaran
    @RamakrishnanParameswaran 2 роки тому

    This is the fantastic video I ever watched on Kafka understanding.

  • @shibu9389
    @shibu9389 2 роки тому

    Awesome video! Great intro with just the right amount of information.

  • @rajeevmahajan9227
    @rajeevmahajan9227 2 роки тому

    This is the best explanation I have found on internet on the topic
    many thanks :)

  • @user-nx1jc7wq8n
    @user-nx1jc7wq8n 8 місяців тому

    Looking for more content like this. Thanks!

  • @bikashkarmokar
    @bikashkarmokar 2 роки тому

    Best kafka intro so far. great video. thanks a lot

  • @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.

  • @travelchimps6637
    @travelchimps6637 Рік тому

    Amazing example, great graphics and very neat explanation. Thank u for the video!

  • @sachinnaik4849
    @sachinnaik4849 2 роки тому +1

    Awesome video. Simple and super clear!!

  • @prathibavijayasekaran4173
    @prathibavijayasekaran4173 Рік тому

    Best and easy summary on Kafka. Pls keep posting useful videos like this.

  • @nenapse7750
    @nenapse7750 3 роки тому

    Really very simple, and complete, description of Kafka. Thx!. Subscribed

  • @creaturerohit
    @creaturerohit Рік тому

    loved it ! simply explained , to the point .Thankyou

  • @abhinavtripathi970
    @abhinavtripathi970 4 роки тому

    I loved this video....nice presentation..........super simple to understand

  • @amrutnandedkar2840
    @amrutnandedkar2840 2 роки тому

    Truly Exceptional ! Thanks for making this.

  • @BryanChance
    @BryanChance Рік тому

    Really concise overview of Kafka. Thank you.

  • @deepakrai5175
    @deepakrai5175 Рік тому

    you explained it so nicely and in a simple way.

  • @edytarciopereira3461
    @edytarciopereira3461 4 роки тому

    Excellent explanation! I just felt frustrated for not finding a Kafka course on your list!

  • @glui2001
    @glui2001 Рік тому

    Straightforward and intuitive video. Thx!!!

  • @AvinashThombrethe_leo
    @AvinashThombrethe_leo Рік тому +1

    So greatly explained! Really helpful.

  • @Vinod_Kumar827
    @Vinod_Kumar827 2 роки тому

    You just nailed it very well. Thanks for the great explanation. Indeed, it was useful for me :)

  • @Shruti_starlight
    @Shruti_starlight 3 роки тому +6

    Watched many videos on Kafka but this is what i was looking for. Thanks for the simple yet effective tutorial for beginners. Loved it.

  • @yogeshkurane123
    @yogeshkurane123 10 місяців тому

    ❤ Wohoooooo! Simplicity at its peak. Thanks for explaining Kafka in a simplistic way.

  • @pranavbhat92
    @pranavbhat92 Рік тому

    Thank you for explaining this with an example! 😊

  • @ketanjoshi4568
    @ketanjoshi4568 2 місяці тому

    Love the brevity of the video !

  • @rameshsoundarrajan3831
    @rameshsoundarrajan3831 Рік тому +1

    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

  • @manju4ever222
    @manju4ever222 Рік тому

    Amazing. You just reduced 50 hours of research for me ❤

  • @mikahoy
    @mikahoy 6 місяців тому

    view a lot of videos about kafka, and you 're video is the best one

  • @HarpreetSingh-xr6em
    @HarpreetSingh-xr6em Рік тому

    Great and very good summary of Kaffka in small amount of time

  • @kshow666
    @kshow666 2 місяці тому

    Great intro to the fundamentals! Great use of example too

  • @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?

  • @smoideen
    @smoideen 9 місяців тому

    Thank you so much for the this video. The diagrams really helped me understand this better.

  • @ashwinmarathe9844
    @ashwinmarathe9844 9 місяців тому

    Very well explained. keep up the good work. Your videos will help a lot.

  • @nagasai6668
    @nagasai6668 11 місяців тому

    Great explanation Sir 🙏from India 🇮🇳..will follow your classes from now❤

  • @DeepakSingh-ji3zo
    @DeepakSingh-ji3zo Рік тому

    Best explanation under 7 minutes!!

  • @franziskakuesters1091
    @franziskakuesters1091 4 роки тому

    great video. your animations really supported what you said.

  • @sammiethompson1672
    @sammiethompson1672 7 місяців тому

    Thank you so much this was perfect explanation!

  • @NikhilThota-ry5pn
    @NikhilThota-ry5pn 7 місяців тому

    100% Perfect introduction to Kafka

  • @yulia0g
    @yulia0g 11 місяців тому

    such a great video with great explanations and examples. learned a lot!! thanks!!!!

  • @pepper856
    @pepper856 18 днів тому

    extremely helpful! Thanks James!

  • @A.n.a.n.d.
    @A.n.a.n.d. 2 роки тому

    Amazing "nutshell" intro to kafka. thanks.

  • @alishiram
    @alishiram 2 роки тому

    Great introductory video! Thanks!

  • @vitalyv301
    @vitalyv301 10 місяців тому

    Thanks a lot for the succinct introduction!

  • @thegodfatheram
    @thegodfatheram 4 місяці тому

    Thank you sir very simple and informative explanation

  • @griglog1309
    @griglog1309 6 місяців тому

    Its crazy how good this video is

  • @sruthiravi8464
    @sruthiravi8464 Рік тому

    Wow.. thanks for the clear explanation ❤

  • @shimesami
    @shimesami 2 роки тому

    This is an amazing recap! Thanks

  • @djdrastic1
    @djdrastic1 7 місяців тому

    Great video this
    Had a hard time understanding the fundamentals of how it works.

  • @GeorgeZoto
    @GeorgeZoto Рік тому

    Very well designed and created content, thank you for sharing :)

  • @udit2114
    @udit2114 Рік тому

    Amazing video man, very helpful !!
    Thanks for this .

  • @nguyenthaimoc4485
    @nguyenthaimoc4485 Рік тому

    it is really easy to get basic things of Apache Kafka
    Thanks

  • @updownftw_
    @updownftw_ 2 роки тому

    Best explanation on Kafka

  • @tabliqatchi6696
    @tabliqatchi6696 Рік тому

    Really amazing video, I've subscribed without thinking about it.

  • @sairavib2865
    @sairavib2865 2 роки тому

    Wonderful video !! Thank you for detailed info

  • @brothermalcolm
    @brothermalcolm 2 роки тому

    this is way better than the other kafka in 5mins video on youtube

  • @tungle6068
    @tungle6068 2 роки тому

    Sir, this video is just awesome !!

  • @davidguardado8282
    @davidguardado8282 Рік тому +2

    The concepts are explained briefly but clearly. You have done in 6 minutes what most other "gurus" on yt are not able to do in 30 minutes. They go on talking and talking without really being able to hit the keys, probably because they don't themselves understand it.

  • @jayjaayjaaay94
    @jayjaayjaaay94 Рік тому +1

    the most clear explanation of kafka I ve seen

  • @vijaygavandar1956
    @vijaygavandar1956 2 роки тому

    Thank you so much James. Very well Delivered .....!!!!

  • @nandiniagrawal393
    @nandiniagrawal393 Рік тому

    thank you sir for this wonderful explanation !!

  • @adriancontreras7691
    @adriancontreras7691 Місяць тому

    best explanation ever!

  • @Namrata766
    @Namrata766 2 місяці тому

    A great starter video. 😊

  • @pammugaadu
    @pammugaadu 2 роки тому

    Amazing explanation!