Apache Kafka in 6 minutes

Sdílet
Vložit
  • čas přidán 14. 09. 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

Komentáře • 259

  • @moveonvillain1080
    @moveonvillain1080 Před 15 dny +7

    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 Před 3 lety +100

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

    • @evisionwithjps602
      @evisionwithjps602 Před 3 lety

      New kafka practical tutorial ..czcams.com/video/mlH0y7FOukU/video.html

  • @zhengqingpei7136
    @zhengqingpei7136 Před 8 měsíci +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.

  • @SaurabhP-gm3bt
    @SaurabhP-gm3bt Před 4 lety +288

    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 Před 3 lety

      New kafka practical tutorial ..czcams.com/video/mlH0y7FOukU/video.html

    • @python2448
      @python2448 Před 2 lety

      You are right 👍

  • @swarupdas5147
    @swarupdas5147 Před 2 lety +7

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

  • @georgelza
    @georgelza Před 4 lety +66

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

  • @ravisemwal5363
    @ravisemwal5363 Před 4 lety +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.

  • @vinayreddy1103
    @vinayreddy1103 Před 9 měsíci +3

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

  • @giorgi23
    @giorgi23 Před 2 lety +6

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

  • @bstancel12
    @bstancel12 Před 4 lety +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 CZcams. Thank you.

  • @chrise202
    @chrise202 Před 2 lety

    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!

  • @asawari520
    @asawari520 Před 2 lety +1

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

  • @ImranChaudhry
    @ImranChaudhry Před 9 měsíci +1

    Straightforward explanation in six minutes, thank you.

  • @pankajpundir3410
    @pankajpundir3410 Před 2 lety +2

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

  • @Sunshine-sv6lw
    @Sunshine-sv6lw Před 6 měsíci

    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!

  • @surbhiagarwal2322
    @surbhiagarwal2322 Před rokem

    This is the best video hands down! I can see why Kafka is widely preferred because it's amazing distributed and fault tolerant architecture

  • @shanemay-gunlogson9575
    @shanemay-gunlogson9575 Před 4 měsíci

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

  • @1921Designs
    @1921Designs Před 10 měsíci +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.

  • @essskkk
    @essskkk Před 2 lety

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

  • @coolplayer2512
    @coolplayer2512 Před 3 lety +3

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

  • @shlomokon
    @shlomokon Před rokem

    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.

  • @zacharyohare2118
    @zacharyohare2118 Před 9 měsíci +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.

  • @jayeshborgaonkar9166
    @jayeshborgaonkar9166 Před 4 lety +2

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

  • @mosalman5174
    @mosalman5174 Před 6 měsíci

    Simple clear and concise. Thank you James

  • @davidguardado8282
    @davidguardado8282 Před rokem +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.

  • @dhruva1221
    @dhruva1221 Před 4 lety +3

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

  • @user-uw4ib6jt3m
    @user-uw4ib6jt3m Před 8 měsíci

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

  • @ravitejapenki
    @ravitejapenki Před 3 lety

    Very well done man, simplified demonstration

  • @RamakrishnanParameswaran

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

  • @pratikshapanwar1552
    @pratikshapanwar1552 Před 3 lety +1

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

  • @TheDQR
    @TheDQR Před rokem +2

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

  • @sriramakrishnabattu3408

    This is a perfect video explaining the core concepts of Kafka

  • @alimomeni4777
    @alimomeni4777 Před rokem

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

  • @rittikaghatak7318
    @rittikaghatak7318 Před 2 lety

    Thanks, James... Please post more videos. Precise and clear

  • @prakharlondhe3876
    @prakharlondhe3876 Před 3 lety +34

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

    • @fieryscorpion
      @fieryscorpion Před rokem +2

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

    • @27sosite73
      @27sosite73 Před 9 měsíci +1

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

  • @bikashkarmokar
    @bikashkarmokar Před 2 lety

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

  • @SamirJahchan
    @SamirJahchan Před 6 dny

    It was very well presented, in a simple and effective way. This put me on the page about Kafka technology.

  • @deepusun
    @deepusun Před 4 lety +1

    James very simple and easy to understand

  • @itgurukul
    @itgurukul Před 2 lety

    One of the best explanation of KAFKA to understand simply

  • @sephyshen2510
    @sephyshen2510 Před 2 lety

    Great video. Although I never use Kafka before, it is very clear for me to understand the its mechanism under the hood. Thank you.

  • @rajeevmahajan9227
    @rajeevmahajan9227 Před 2 lety

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

  • @creaturerohit
    @creaturerohit Před rokem

    loved it ! simply explained , to the point .Thankyou

  • @sachinnaik4849
    @sachinnaik4849 Před 2 lety +1

    Awesome video. Simple and super clear!!

  • @suvamgupta2914
    @suvamgupta2914 Před 11 měsíci

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

  • @rajaramarumugam3878
    @rajaramarumugam3878 Před rokem

    Excellent Video, in just 6 mins you have covered core concepts of the Apache kafka.

  • @BryanChance
    @BryanChance Před rokem

    Really concise overview of Kafka. Thank you.

  • @jayjaayjaaay94
    @jayjaayjaaay94 Před rokem +1

    the most clear explanation of kafka I ve seen

  • @shibu9389
    @shibu9389 Před 2 lety

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

  • @kshow666
    @kshow666 Před 2 měsíci

    Great intro to the fundamentals! Great use of example too

  • @travelchimps6637
    @travelchimps6637 Před rokem

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

  • @ketanjoshi4568
    @ketanjoshi4568 Před 3 měsíci

    Love the brevity of the video !

  • @glui2001
    @glui2001 Před rokem

    Straightforward and intuitive video. Thx!!!

  • @alishiram
    @alishiram Před 2 lety

    Great introductory video! Thanks!

  • @prathibavijayasekaran4173

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

  • @contactsrividya
    @contactsrividya Před 2 lety +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

  • @dishaponkiya1836
    @dishaponkiya1836 Před 3 lety +1

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

  • @abhinavtripathi970
    @abhinavtripathi970 Před 4 lety

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

  • @AvinashThombrethe_leo
    @AvinashThombrethe_leo Před rokem +1

    So greatly explained! Really helpful.

  • @edytarciopereira3461
    @edytarciopereira3461 Před 4 lety

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

  • @pepper856
    @pepper856 Před 27 dny

    extremely helpful! Thanks James!

  • @pranavbhat92
    @pranavbhat92 Před rokem

    Thank you for explaining this with an example! 😊

  • @DeepakSingh-ji3zo
    @DeepakSingh-ji3zo Před rokem

    Best explanation under 7 minutes!!

  • @deepakrai5175
    @deepakrai5175 Před rokem

    you explained it so nicely and in a simple way.

  • @amrutnandedkar2840
    @amrutnandedkar2840 Před 2 lety

    Truly Exceptional ! Thanks for making this.

  • @griglog1309
    @griglog1309 Před 6 měsíci

    Its crazy how good this video is

  • @yogeshkurane123
    @yogeshkurane123 Před 10 měsíci

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

  • @Shruti_starlight
    @Shruti_starlight Před 3 lety +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.

  • @user-nx1jc7wq8n
    @user-nx1jc7wq8n Před 8 měsíci

    Looking for more content like this. Thanks!

  • @HarpreetSingh-xr6em
    @HarpreetSingh-xr6em Před rokem

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

  • @nenapse7750
    @nenapse7750 Před 3 lety

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

  • @brothermalcolm
    @brothermalcolm Před 2 lety

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

  • @yulia0g
    @yulia0g Před rokem

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

  • @vitalyv301
    @vitalyv301 Před 10 měsíci

    Thanks a lot for the succinct introduction!

  • @mikahoy
    @mikahoy Před 6 měsíci

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

  • @saurabhsharma6209
    @saurabhsharma6209 Před 3 lety +1

    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 Před 3 lety

      New kafka practical tutorial ..czcams.com/video/mlH0y7FOukU/video.html

  • @A.n.a.n.d.
    @A.n.a.n.d. Před 2 lety

    Amazing "nutshell" intro to kafka. thanks.

  • @NikhilThota-ry5pn
    @NikhilThota-ry5pn Před 8 měsíci

    100% Perfect introduction to Kafka

  • @franziskakuesters1091
    @franziskakuesters1091 Před 4 lety

    great video. your animations really supported what you said.

  • @sairavib2865
    @sairavib2865 Před 2 lety

    Wonderful video !! Thank you for detailed info

  • @shimesami
    @shimesami Před 2 lety

    This is an amazing recap! Thanks

  • @tabliqatchi6696
    @tabliqatchi6696 Před rokem

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

  • @nagasai6668
    @nagasai6668 Před 11 měsíci

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

  • @rameshsoundarrajan3831
    @rameshsoundarrajan3831 Před rokem +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

  • @smoideen
    @smoideen Před 9 měsíci

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

  • @GeorgeZoto
    @GeorgeZoto Před rokem

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

  • @manju4ever222
    @manju4ever222 Před rokem

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

  • @thegodfatheram
    @thegodfatheram Před 4 měsíci

    Thank you sir very simple and informative explanation

  • @sammiethompson1672
    @sammiethompson1672 Před 8 měsíci

    Thank you so much this was perfect explanation!

  • @vijaygavandar1956
    @vijaygavandar1956 Před 2 lety

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

  • @lucianoinso
    @lucianoinso Před 4 dny

    This is genius, thank you so much!

  • @sruthiravi8464
    @sruthiravi8464 Před rokem

    Wow.. thanks for the clear explanation ❤

  • @nguyenthaimoc4485
    @nguyenthaimoc4485 Před rokem

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

  • @udit2114
    @udit2114 Před rokem

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

  • @Vinod_Kumar827
    @Vinod_Kumar827 Před 2 lety

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

  • @Raadha_Ji
    @Raadha_Ji Před rokem

    James what a Content with everything ..Thanks !! keep uploading

  • @andydataguy
    @andydataguy Před rokem

    This video was amazing. New subscriber!

  • @pepa007
    @pepa007 Před 2 lety

    Thank you, very nice summary.

  • @updownftw_
    @updownftw_ Před 2 lety

    Best explanation on Kafka

  • @Namrata766
    @Namrata766 Před 2 měsíci

    A great starter video. 😊

  • @lsranganath9054
    @lsranganath9054 Před 3 lety

    Wonderful job,... very nice 6 min video...