3. Apache Kafka Fundamentals | Apache Kafka Fundamentals

2020 ж. 23 Там.
437 504 Рет қаралды

cnfl.io/apache-kafka-101-lear... | In this video we’ll lay the foundation for Apache Kafka®, starting with its architecture; ZooKeeper’s role; topics, partitions, and segments; the commit log and streams; brokers and broker replication; producers basics; and consumers, consumer groups, and offsets.
After you’ve watched the video, you can take a quick quiz to check what you’ve learned and get immediate feedback here: forms.gle/RDc84FbPeJ2CwCRP9
As always you can visit us here: cnfl.io/kafka-training-certif...
LEARN MORE
► Apache Kafka 101 course: cnfl.io/apache-kafka-fundamen...
► Learn about Apache Kafka on Confluent Developer: cnfl.io/confluent-developer-t...
ABOUT CONFLUENT
Confluent, founded by the creators of Apache Kafka, enables organizations to harness business value of live data. The Confluent Platform manages the barrage of stream data and makes it available throughout an organization. It provides various industries, from retail, logistics and manufacturing, to financial services and online social networking, a scalable, unified, real-time data pipeline that enables applications ranging from large volume data integration to big data analysis with Hadoop to real-time stream processing. To learn more, please visit confluent.io
#apachekafka #kafka #confluent

Пікірлер
  • This is a gem of a video series with an even greater gem of a presenter. I truly mean this when I say that Tim is just insanely good at breaking down info like this. He deserves all the promotions and love that can be humanely offered by any corporation on this planet. I encourage him to keep making videos like this on more topics. My sole regret is that this video did not come out years earlier. Tim, if you're reading this, I applaud you. You are unironically my hero of this month and I hope you continue living a great life.

    @Adi-mj3cb@Adi-mj3cb3 жыл бұрын
    • Yeah, Tim's very charismatic, approachable and well-spoken. Most people aren't. Respect.

      @franciscos.2301@franciscos.2301 Жыл бұрын
    • I felt same way and came here to write same . Saw your message so just "Reused". Loud claps for Tim.

      @desi4masti@desi4masti Жыл бұрын
    • I fell asleep on most other technology videos but Tim is exceptional good. His skill on verbal fluency and the use of context keeps me wide awake.

      @DonJuanDM@DonJuanDM Жыл бұрын
    • absolutely agreee!

      @khrisna6435@khrisna64353 ай бұрын
    • Tim you’re the best

      @SunsetNova@SunsetNova29 күн бұрын
  • official and legit man! I just wondering why this kind of official tech videos are not listed at the top when searching "what is kafka". bunch of superficial and low quality videos show up and contains wrong information and non-core details. really hope you guys PR these videos to let more engineers get the correct stuffs.

    @mikesunny1291@mikesunny12913 жыл бұрын
  • This guy is the best tech educator I've ever seen.

    @deanwest5581@deanwest5581 Жыл бұрын
  • The Best Kafka fundamentals video. Period. Give the instructor an award. So precise and to the point.

    @firingpistonz@firingpistonz2 ай бұрын
  • Nobody ever taught Kafka in details like you did Tim. Much appreciated 👍🏻

    @somnathhazra6959@somnathhazra69592 жыл бұрын
  • Thank you, Tim and the Confluent team, your tutorials are top-notch and really help people understand the subject. Wish you all the best!

    @alexeyelivanov1704@alexeyelivanov17043 жыл бұрын
  • this is exactly i was looking for.. best of all the videos on Kafka Fundamentals

    @kant.shashi@kant.shashi3 жыл бұрын
  • That was one of the best description of Apache Kafka fundamentals that I saw, thanks

    @Th3Arock@Th3Arock Жыл бұрын
  • This speaker is great, with a casual style and different intonation that's easy to follow. In a lot of tech KZhead videos the speaker just rambles on in a monotone voice making me want to zone out.

    @kenjimiwa3739@kenjimiwa37395 ай бұрын
  • Halfway through the video and already loving this guy. Super presentation and delivery skills. Kudos Tim!!

    @RobinSingh-md1sh@RobinSingh-md1sh3 жыл бұрын
  • First time learning about Kafka, learned everything I needed to know from your one video. You are a great presenter sir, thank you!

    @kitnguyen7259@kitnguyen72592 жыл бұрын
  • I can't believe I just watch a 24 minute technical video without yawning or pausing. This guy is good! 🏆🏆

    @hello-again6994@hello-again69942 жыл бұрын
  • Thanks Tim for the awesome explanation of Kafka terms and how they relate with each other. After watching this video only I could understand kafka terms in real deep and I no more have to cram these terms again amd again.🙂

    @sp-sj4st@sp-sj4st3 жыл бұрын
  • Excellent content 👍🏽 to the point, no fluff, clearly explained with diagrams 👍🏽 Thank you.

    @kal6392@kal63929 ай бұрын
  • Amazing video. Very thorough. Can't believe this is free. Thanks Confluent.

    @sunnyp219@sunnyp219 Жыл бұрын
  • Entering now in Kafka and finally a perfect simple rapid nice explanation. Thank you for this video!

    @SilviaTosi@SilviaTosi2 жыл бұрын
  • i can state unequivocally that i have never come across a better video instructor.. Hats off

    @geethaachar8495@geethaachar84959 ай бұрын
  • Hi Tim, thank you for a great explanation. Also thumbs up to the team behind the video.

    @jenithmehta9603@jenithmehta96037 ай бұрын
  • This guy’s presentation skills should be made gold standard, period !!!

    @bhanupkatta@bhanupkatta2 жыл бұрын
  • Excellent explanation in a short video Tim. Really appreciate your effort. Thank you!!

    @sheetaljigi@sheetaljigi2 жыл бұрын
  • One of the best videos on Kafka basics and understanding of the Cluster

    @skywalker66ful@skywalker66ful2 жыл бұрын
  • Just wanted to express my appreciation for this (university level) lecture! Thank you, very well done!

    @lucak.2138@lucak.2138 Жыл бұрын
  • Excellent content 👍🏽 to the point, no fluff, clearly explained with diagrams 👍🏽

    @chris0628@chris0628 Жыл бұрын
  • Much appreciated! Thanks. Highly recommended for freshers with couple of years of experience, starting journey towards resiliency and kafka.

    @abdulahadkhan705@abdulahadkhan705 Жыл бұрын
  • I can say that I am not watching any other channel for Kafka now.good job!!!

    @enver6414@enver6414 Жыл бұрын
  • Great that the day has come that Zookeeper is no longer required - nice that you were able to give a heads up!

    @AndrewPerry1@AndrewPerry14 ай бұрын
  • Straight forwared, right on point, no bullshit. Cleared all main kafka concepts in just 24 mins.

    @NeerkumarOOPS@NeerkumarOOPS3 ай бұрын
  • Excelent tutorial! Straight to the point and super clear

    @pwb83@pwb83 Жыл бұрын
  • Super course, very effective and well delivered. Thanks !

    @hugpic298@hugpic2982 жыл бұрын
  • Hey :) Your presentation and explanatory style is really great - excellent in fact, and just at the right level for me! Many thanks

    @sambo7734@sambo77342 жыл бұрын
  • Loved it. Thanks for making it easy to understand.

    @amitjaini@amitjaini2 жыл бұрын
  • great video and even better series!

    @olemaiwald1873@olemaiwald18733 жыл бұрын
  • Very well explained. Thank You so much :)

    @NirajKumar-Geeks@NirajKumar-Geeks3 жыл бұрын
  • Tims explanation!...top notch !

    @sajidmohammed8665@sajidmohammed8665 Жыл бұрын
  • Great video! Simple to understand and managed to hold attention

    @hetalchavan7379@hetalchavan73792 жыл бұрын
  • Explanation is gorgeous !

    @sanzharsuleimenov6380@sanzharsuleimenov6380 Жыл бұрын
  • Man your rocked this presentation! Thank you Tim.

    @chillbro2275@chillbro2275 Жыл бұрын
  • Such clarity of thoughts and impeccable explanation, answered all the questions that came to my mind. Best Kafka video!

    @adityagoel723@adityagoel723Ай бұрын
  • Awesome, Very simple to understand and managed to hold the attention

    @nguyenshmily7118@nguyenshmily71182 жыл бұрын
  • Very well compiled, i struggled a lot and you have put all information at one place! cheers!

    @ApoorvaGarg0308@ApoorvaGarg03083 жыл бұрын
  • Amazing.. crystal clear explanation Tim.. Thanks a lot ..

    @radhianand5647@radhianand5647 Жыл бұрын
  • Who is this guy ? Blew my mind away

    @pratheek5096@pratheek50962 жыл бұрын
  • Thanks great breakdown and presentation .

    @danielhaile9073@danielhaile90733 жыл бұрын
  • Thank you for the video. Helps me a lot to understand the components of Kakfa.

    @cltan8@cltan8 Жыл бұрын
  • This was awesome! top-notch! Bravo

    @michaelkazerooni1019@michaelkazerooni1019 Жыл бұрын
  • Such great content and so much detail oriented that it's cleared my all doubts. Thanks for making such content. 👍

    @GauravKumar-nh2ii@GauravKumar-nh2ii10 ай бұрын
  • This was solid. Thank you!

    @anjildhamala4996@anjildhamala49962 жыл бұрын
  • Top Notch explanation/video!! Well done!

    @madhousetoobah@madhousetoobah Жыл бұрын
  • its a great video to understand the basics, thanks for posting this

    @nk91able@nk91able Жыл бұрын
  • Done thanks Logs are immutable, can have multiple consumers consuming from different offsets of the log because consuming doesn’t actually delete the messages from the log Partitions of a topic live on different brokers and not all brokers must have partitions from a topic Partitions are replicated across brokers, so that if broker fails the topic partition is replicated elsewhere and can change the replication factors for partitions. Master/leader for each partition when it’s replicated and writes happen at the leader CLI producer can be used for testing How does a producer know which partition to write the message to? Partitioning strategy by default uses the hash(key) % numpartitions Messages with the same key will land in the same partition and will maintain their ordering. (In the case that number of partitions in a topic changes then this isn’t the case anymore but they shouldn’t change) Each consumer has an offset of where in the log it’s reading from. Consumer pulls messages from topics after offset n

    @mostinho7@mostinho7 Жыл бұрын
  • Well Explained. Question : How the Disk Space underneath the Brokers/Segments Grow? Is that something Producers or Consumers need to be worried about? That's Cloud Offering as a SaaS or IaaS?

    @varungupta6596@varungupta65963 жыл бұрын
  • Dear Confluent, Can we have Tim do videos on Spark, Druid and Kubernetes too?

    @zaidwaqizulkifli6554@zaidwaqizulkifli65542 жыл бұрын
  • Thanks Tim for this excellent video.

    @rajeshpadmanabhan8443@rajeshpadmanabhan84432 жыл бұрын
  • this is such a great explanation thank you

    @dalgonacovfefe@dalgonacovfefe Жыл бұрын
  • Awesome presentation, crystal clear

    @naeemsidd6533@naeemsidd653310 ай бұрын
  • Excellent explanation. Thank you

    @andybhat5988@andybhat59882 жыл бұрын
  • Very good presenter and very informative video, thanks for sharing! 😄

    @enjoyhiking9845@enjoyhiking9845 Жыл бұрын
  • Great explanation with good detail. thankyou for your great effort.

    @irfanbabar8424@irfanbabar84245 ай бұрын
  • Nicely explained. Thanks

    @sarveshlohani@sarveshlohani3 жыл бұрын
  • Solid knowledge, thank you fro sharing this.

    @itsmendyou@itsmendyou6 ай бұрын
  • 8:50 One slip here. I think it should be "the broker, that topic lives on" and not "that partition lives on", because 1) you haven't even introduced partitions yet, at this very moment, and 2) you later say "if you're writing messages into that topic".. which again confirms my point, that you mean topic, not a partition.

    @georgetsiklauri@georgetsiklauriАй бұрын
  • Awesome explanation. Thank you

    @mwont@mwont Жыл бұрын
  • Cool, Unbelievable such a valuable information is for free.

    @Anonymous-hp1tg@Anonymous-hp1tg2 жыл бұрын
  • Great video, thanks alot!

    @user-gp5xz@user-gp5xz11 ай бұрын
  • Can the offset be synced across partitions so that we can have serial processing of the data ?

    @jacobborusu1923@jacobborusu19233 жыл бұрын
  • Great talk!!

    @hannnah689@hannnah6892 жыл бұрын
  • well explained thank you Sir

    @thamsanqamngxunya4460@thamsanqamngxunya446010 ай бұрын
  • AMazing videos. Consider using patterns or other visual indicators in place of color to accommodate various color-blindnesses

    @robotempire@robotempire2 жыл бұрын
  • Tim, You are very good explainer bro

    @MaheshPatel-om5vq@MaheshPatel-om5vq Жыл бұрын
  • fantastic video! BTW I like the shirt 😎

    @zambishon@zambishon Жыл бұрын
  • Nice intro! Other complicated software should take note of this simple introductionairy video

    @ytdlgandalf@ytdlgandalf Жыл бұрын
  • love the video

    @vkp2001@vkp2001 Жыл бұрын
  • awesome video. Thanks

    @EwertonSilveiraAuckland@EwertonSilveiraAuckland Жыл бұрын
  • Wow this is easily understandable and not boring. Is it too much to ask to make videos of this quality of other topics in tech..?

    @kalkalasch@kalkalasch Жыл бұрын
  • Thanks man

    @agustindearmas473@agustindearmas4732 жыл бұрын
  • Hi, I am fresher, and new to Kafka. For storing those topics we need persistent storage and consuming a message don't delete that message. Now my question is suppose I have X ammount of persistent storage and producer produces X ammount message in Y days, what will happen to my storage after Y'th day?

    @dnbndu@dnbndu2 жыл бұрын
  • When he mentioned timestamps, I was imagining a cop saying “You have the right to a time stamp. If you cannot afford a time stamp, one will be provided for you.”

    @juvenilemrcia2664@juvenilemrcia26642 жыл бұрын
  • At 4:53 why you have `n` everywhere? That might be confusing since it is a kind of implication that we have equal number of components on all the levels.

    @avr4dev@avr4dev Жыл бұрын
  • Wait, but how do the consumers of the consumer_offset topic keep track of where they are?

    @justmeandmy@justmeandmy2 жыл бұрын
  • Very well explained. My only gripe is that I see that more as an azure blue

    @JohnnyMagorish@JohnnyMagorish4 ай бұрын
  • thanks for the video, but you made a mistake about the colors: #71cc01 - not green #ee9f00 - not orange #7bb1fe - not cornflower blue

    @DNI404@DNI40411 ай бұрын
  • Does Kafka topics got in built filters to filter out messages ?

    @chetan2399@chetan23992 жыл бұрын
  • wowwwwwww this video is sooo freakinggg goood

    @umatjeet8012@umatjeet80122 жыл бұрын
  • Fantastic video @Confluent and @TimBerglund. Confluent is amazing in the way that they are making kafka easier for everyone to learn.

    @masterprattu@masterprattu2 жыл бұрын
  • Very good

    @leovoldoftrest9987@leovoldoftrest99872 жыл бұрын
  • 10:55 Cornflower blue, you say, CORNFLOWER BLUE ??? I'm shocked. SHOCKED to find out that colors aren't being identified in here" Why, that is clearly a case of #7cb0f9, which as anyone know is soft blue! Thank you for the wonderful video. You, sir rock. _List below is for me to quickly find stuff. Be warned, these time points don't do justice. Watch the whole video. It's awesome_ 0:02 - Nice little joke here 0:09 - Nice upbeat music. Don't miss this one! 0:20 - Synopsis of what you will learn in 24 minutes 0:54 - Kafka's job 0:59 - What's a producer 1:33 - Data stuff that goes into a Kafka Cluster 1:57 - What's in a Kafka Cluster ? 2:21 - Brokers 3:32 - Consumers 3:57 - Relationship Consumer and Application 4:15 - Reiteration of Fundamental parts of Kafka 4:52 - ZooKeeper 5:45 - Decoupling of Producers and Consumers 6:51 - What does ZooKeeper really do in a Kafka Cluster ? 7:39 - Topics 9:11 - Partitions 10:19 - Segments 11:01 - Topology and Detail example of a Kafka Cluster 12:25 - What's a Log 14:02 - Consumers. Do they really consume ? 14:55 - Structure of a Kafka Message 16:10 - Brokers revisited 17:19 - Broker Replication 18:16 - Producers revisited 19:51 - Load Balancing 21:25 - Consumers revisited 22:41 - Distributed Consumption

    @garhhh9513@garhhh9513 Жыл бұрын
  • why kafka use consumer and suscriber in their terminology ? this are different approach in messaging , so what Kafka model use ? consumer/producer or publish/suscriber ?

    @njg120@njg120 Жыл бұрын
  • This guy PRESENTS.

    @Draaack@Draaack Жыл бұрын
  • hahaha cornflower blue. awesome

    @alexanderwitte9919@alexanderwitte99192 жыл бұрын
  • What s the maximum file size that Kafka can process?

    @gagyboki799@gagyboki7992 жыл бұрын
  • Thanks for this great video! I have a few questions that hopefully someone could help clarify :) 1. How are brokers replicated? It sounds like it's async replicated, hence I imagine when the leader failover there would be some small amount of msg loss (because replica would always lag primary a tiny bit)? 2. When the broker receives the msg, does it write to log immediately or does it do some kind of in-memory buffering and write by small batch? And if so what happens to the non-flushed messages if that broker crashes? Just to clarify, I'm not criticizing Kafka, it is a great tool and I really liked it while working with it in my previous job. But I'm just curious because I've heard various techtalks about how kafka is used in various products -- e.g. nu bank which is a financial startup uses kafka and from their talk I had this feeling that they rely on kafka for being 100% reliable (as in, not losing messages), which surprises me. 3. One last noob question, apparently Kafka's great capability for supporting high write throughput is partially due to its sequential write, hence avoiding random disk seek. But given that consumer almost always consumes the message with a slight delay, does it mean whenever a consumer pulls new messages it breaks this nice sequential mechanism (because we need to seek to a different disk location than the end of the log file)? Thanks!

    @yushutong722@yushutong7222 жыл бұрын
    • To answer question #1 (after watching the next video in the series), apparently one can tune the replication iin Kafka to only have producer acked after the msg is replicated to all replicas.

      @yushutong722@yushutong7222 жыл бұрын
    • Hey have you found the answers to your questions #2 & #3? I don't think any system can be 100% reliable but considering industry wide adoption I believe they must be doing something really well. I would love to know their solution to these fundamental data problems

      @tejeshreddy6252@tejeshreddy62522 жыл бұрын
  • I came for information and received quite some laughs as well.

    @djkim24601@djkim24601 Жыл бұрын
  • 21:24 now you confused me. I thought that the consumers used long polling, but you described a short polling mechanism.

    @themodernarchitect7537@themodernarchitect75372 жыл бұрын
  • @10:56 It is cornflower blue. I know this because Tyler knows this.

    @Jason-ky4ue@Jason-ky4ue Жыл бұрын
  • 👌

    @sharmarahul17@sharmarahul1711 ай бұрын
  • Very helpful. As a bizarre side note, the speakers voice sounds a lot like Weird Al Yankovich to me. Which is obviously a very good thing.

    @vincentbuscarello1357@vincentbuscarello13573 жыл бұрын
  • You can say that a broker is a process?

    @no_more_free_nicks@no_more_free_nicks2 жыл бұрын
  • I had no idea Bill Burr is so good with Apache Kafka stuff as well...

    @TheEsisia@TheEsisia Жыл бұрын
  • Mustard is yellow, not orange. Great video

    @Shipwrecked85@Shipwrecked85 Жыл бұрын
  • i suppose that Kafka is like those newsstands where some of us still go to to get a newspaper / magazine

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