Check out my fundamentals of Database Engineering udemy course with over 20 hours of deep database systems lectures. Head to database.husseinnasser.com for a discount coupon. Link redirects to udemy with coupon applied.
@markyoshikawa4278 Жыл бұрын
I love it and the way it’s presented! Will announce on LinkedIn when I get my cert. Thanjs for putting this together!
@Imdeepmind5 күн бұрын
I think you should update this video as Zookeeper is no longer needed for Kafka.
@_sr3 жыл бұрын
27:28 answer: Every broker on a Kafka cluster is also named a Bootstrap Server. All brokers have the metadata required for the clients (producer or consumer) to discover brokers. When a client connects to one of the brokers (which are already configured as bootstrap servers in the Kafka configuration) it makes a "metadata request". The response includes information about topics, partitions, leader brokers, etc. Once the client gets this info, then - in the case of a producer- it makes the write request directly to the leader broker for that specific partition.
@hakimbencella42423 жыл бұрын
Thanks for the explanation
@matejlaskomulej2 жыл бұрын
This should be pinned. Thank you!
@HarshJain-lk8cw2 жыл бұрын
if all the brokers maintain this metadata then what's the role of zookeeper.
@boobalangnanasekaran33812 жыл бұрын
@@HarshJain-lk8cw The use of zookeeper is that only one leader is there for a partition at any given time by using some kind of lock registry.
@syedsabeehahmedfatmi1099 Жыл бұрын
This should be pinned. Thanks!
@jithin_zac3 жыл бұрын
I always got demotivated by the complexity I experienced when I tried to learn this on my own but this one is a gem. I know it might have taken a lot of learning and experience for you to explains this in a simple manner Nevertheless thank you for sharing your knowledge!
@hnasr3 жыл бұрын
Thank you Jithin! And Remember to ask in the community to get access to the slides if you would like to since you are a member❤️
@hnasr5 жыл бұрын
Course Table of Content time codes: (EDIT you should also see youtube chapters) Download slides here payhip.com/b/Y0Cq Kafka Broker: 2:32 Kafka Producer: 5:39 Kafka Consumer : 7:11 Kafka Partitions : 8:34 Queue vs Pub/Sub 12:50 Consumer Group 16:47 ZooKeeper 23:06 Example 29:45 Kafka Pros & Cons 1:02:48 Summary: 1:17:00 Example time codes Spin up Zookeeper 31:37 SPin up Kafka 34:00 Connect to Kafka (40:30) Create Kafka Topic (45:30) Create a Producer (49:44) Create a Consumer (55:24) Final test (1:00:00)
@satalkar4 жыл бұрын
I rarely comment on videos but this was genuinely one of the best computer science tutorials I've ever seen!
@hnasr4 жыл бұрын
Thank you Anish for taking the time to write this appreciate you!
@MrMubashirAli Жыл бұрын
I just wanted to express my heartfelt appreciation for the amazing Kafka crash course, Your dedication to simplifying complex topics shines through, and I can't thank you enough for making Kafka so much easier to understand.
@ershad003 Жыл бұрын
Sweeeeet... did not feel like a tutorial, but like a friendly chat between deeply connected friends, every word makes clear sense. Kept me engaged every second till the end, yes I made to the end. Well done Sire... 👏👏👏
@NickLeenknecht3 жыл бұрын
Answer to - 27:25 - The producer sends a Metadata request with a list of topics to one of the brokers in the broker-list you supplied when configuring the producer. The broker responds with a list of partitions in those topics and the leader for each partition. The producer caches this information and knows where to redirect its produce messages. In case of failure while producing, failed broker's data (topics and its partitions) dynamically linked to existing replica which is present on another broker via topic's replication and new leader's information is communicated to the client (producer).
@manishbolbanda98722 жыл бұрын
i had to deal with Kafka in one of my project, so searched for some tutorials, As soon as I saw that you have made a video on this, i had a sense of relief that i dont have to worry about the resource atleast. Thanks for all your efforts man.
@bokilsbk238 ай бұрын
Great tutorial as always. Literally a crash course fit into about an hour. Has everything to get started with kafka, especially because of the hands on.
@zmm13374 жыл бұрын
how do you only have 23k subs?? you're so good at explaining difficult concepts, tysm!
@ballonura4 жыл бұрын
61k
@gtiradob4 жыл бұрын
@@ballonura 79k
@mazharuddin36474 жыл бұрын
86.6K
@johncerpa37824 жыл бұрын
@@mazharuddin3647 88.3k
@ManuelMartinez-dj2gr4 жыл бұрын
@@johncerpa3782 88.4k
@danuzonez5 жыл бұрын
Another perfect tutorial. Everything is explained very nicely. Thanks for making Kafka easy to understand in this tutorial.
@hnasr5 жыл бұрын
Atif Ali thanks Atif for your support! Happy I could make such complex topic easy to absorb.. still I didnt cover all what kafka has to offer! Cheers
@crypto-saiyan92832 жыл бұрын
Today i understood, its not the subject its the way of teaching...thanks for sharing this wonderful knowledge
This was an awesome tutorial. You're incredibly good at explaining things and keeping people engaged when consuming so much information.
@luqmansen5 жыл бұрын
I just watched your RabbitMQ crash course and at the end of the video you mention how Kafka better at some point, then I bumped into this great video. Very clear explanation, love your video!
@hnasr5 жыл бұрын
Luqman S thanks Luqman! Each software its use cases, I think RabbitMQ Is trying to be more than it really is (a message queue) where as kafka was designed to be a pub/sub and a message queue. If your app needs a queue and a pub/sub (or maybe streaming) than Kafka . If you just need a queue RabbitMQ is the way to go and kafka will be an overkill I think.. I would even consider zeromq as a lightweight mq.. Good luck!
@kpcurt3 жыл бұрын
Super video! I applauded for $2.00 👏
@hnasr3 жыл бұрын
❤️❤️❤️❤️
@stmasanti4 жыл бұрын
One of the best tutorials i’ve seen. Great class and very funny. Subscribed and waiting for more content!
@rubensingh68092 жыл бұрын
bro your tone when explaining these videos are so good. Didn't even feel like someone was teacahing me. It was as if a friend was talking to me lol. Good job man. Your excitement is intoxicating. :)
@talkohavy2 жыл бұрын
I didn't know you before this video, but after this video? I'm gonna watch everything you upload man. Every tutorial you're selling? I'm buying! Obviously I liked & subscribed.
@asht72903 жыл бұрын
Dude, I made it to the End. You kept us engaged throughout. I have soo much to learn about Comp Sci!
@MAJHOOOL19953 жыл бұрын
Made it to the enddddd ... I know how kafka works “at least before witching this tutorial “ but after this tutorial many things become clear to me ... Thanks a lot
@hnasr3 жыл бұрын
❤️❤️❤️ روعه!
@MAJHOOOL19953 жыл бұрын
@@hnasr هههههههههههه اسعدتني في بداية يومي
@AdityaDodda4 жыл бұрын
Super video! I applauded for $5.00 👏👏
@hnasr4 жыл бұрын
❤️🙏🙏
@eduardotp541 Жыл бұрын
Not only the content, but the way you say it, and your enthusiasm, is something else. You sir deserve all the best, because you are, with no doubt, in the better's shelf..
@MOHDSALMAN-sj2zu4 жыл бұрын
I made it to the end. :P Thank you so much for the amazing content Hussein.
@nimasoufiloo26264 жыл бұрын
Couldn't learn kafka better in such a short time. Thanks Hussein.
@a.yashwanth Жыл бұрын
You explain by answering all the questions people get when learning a topic. Most tutorials just explain concepts.
@ibknl19863 жыл бұрын
I made it to the end. Excellent. I don’t remember which video previously I saw was so long MD not boring at all. In fact you made it so interesting. May Allah (God) guide and bless you.
@prakharvijay88533 жыл бұрын
Made it to the end, now gonna implement the backend of a texting app using Kafka
@atexnik3 жыл бұрын
This is the BEST educational channel!!! Bravo!
@nihinlola2 жыл бұрын
Excellent practical explanation of Kafka, I wish every technical tutorial was as easy as this. Thumbs up!
@peternamagonya53102 жыл бұрын
I made it to the end. Followed every step and it worked nicely. Thank you for the effort... really helpful
@alexsiuwh10 ай бұрын
this is the only tutorial i found that go in the depth and details of a pro should know , and i can compare Kafka with other messaging system like JMS and MQ. Thanks so much for sharing👍👏🙏
@manishtanwar48033 жыл бұрын
made it to end. Amazing video. you made Kafka look so simple, and the best part-> you showed a code demo. clap. clap.
@mutasworld Жыл бұрын
I made it to the End! Thank you for that video, I can now say I understand Kafka a lot better than 1 hour ago :)
@abrahammoyo29394 жыл бұрын
Hussein, You are a legend!!! Any one can be a master if they follow to your conversations. I like the way yo have a full conversation with yourself - such a good dialogue asking and answering yourself
@hnasr4 жыл бұрын
Thank you! I am happy you noticed the conversation style, i have been working on it 😊
@t5296154 жыл бұрын
By far the best introduction video to Kafka I have seen. Great examples and nice build up to demos that puts theory into practice.
@hnasr4 жыл бұрын
Hans-Jacob Melby thanks Hans!
@t5296154 жыл бұрын
@@hnasr One question though.. Shouldn`t the consumer allways get all messages in the topic (within its partition)? I can see that the property "fromBeginning" i set to true, but when i restart the consumer, it still waits for new mesages. It does not replay the old ones?
@vbrtrmn4 жыл бұрын
Great video, thanks for making it. Love your accent! You're very easy to understand, follow, and your excitement is fantastic!
@hnasr4 жыл бұрын
vbrtrmn glad to know thank you! Lots of people have trouble with my accent glad you like it!
@psuter803 жыл бұрын
thank you, this video was a great intro to understand what kafka is and how it works for a complete noob :) here is a docker-compose.yml that starts your two ontainers in case anybody wants to use that to go through your examples. basically i just took your two lines and converted them to compose. version: '3' services: zookeeper: image: zookeeper restart: always ports: - "2181:2181" kafka: image: confluentinc/cp-kafka restart: always ports: - "9092:9092" environment: KAFKA_ZOOKEEPER_CONNECT: 'zookeeper:2181' KAFKA_ADVERTISED_LISTENERS: 'PLAINTEXT://localhost:9092' KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: '1' another addon: create a copy of consumer.js and edit the group name.. start that in parallel with the two consumer.js processes which then demonstrates pub sub behavior. i write all this one and a half hour after not even knowing what the difference between a queue and pub sub is and what kafka and zookeeper are :) .. this just shows how good this tutorial was :)
@adilsheikh99162 жыл бұрын
Appreciate your efforts...like the way you clearly say what you know/understand & what you dont...else I see most people in Industry are faking the intelligence & understanding about any technology & they pretend it so perfectly like they themselves have developed that tech...while those who actually know/understand the tech properly are very few & rare... So always good to watch your videos to understand something in simple words rather mugging those funky & techie words.
@ComisarioLobo3 жыл бұрын
Man, you are the best, thanks a lot for creating such valuable content for free
@u.s.69093 күн бұрын
This was actually good. I was able to get it to run January 2025.
@jasonngan57472 жыл бұрын
The explanation and illustration is clear and concise! Thanks for the comprehensive tutorial!
@stefanmiller58182 жыл бұрын
You really know how to do tutorials, great video!
@HirschDaniel4 ай бұрын
Thanks, I feel like I learned everything I need to know about Apache Kafka from this video. Sure, there are more advanced concepts. But this is the essence.
@sumanth62993 жыл бұрын
This guy nailed it completely. Luckily, I landed here!!!
@yuanqingzhang36483 жыл бұрын
This course is great because of the example. It's much better than some videos in which only some introductions are represented.
@saurabhdeshpande84503 жыл бұрын
Best explanation of Kafka on the internet!
@93kazem4 жыл бұрын
Thank you for this, don't know how I missed it
@priyadarshiBharat3 жыл бұрын
Cant say techical corrrect, but this video clears a lot of common confusions associated with Kafka fundamentals.
@luniacllama83737 ай бұрын
made it to the end , noice, hopefully i consistently get better at backend and devops :3
@KuldeepYadav-jw7jn3 жыл бұрын
Hi Hussein, I love your way of explaining complex topics, kudos for good work. For some time, I was also confused about how the producer sends to the leader only, then I found out this in Kafka docs "The producer sends data directly to the broker that is the leader for the partition without any intervening routing tier. To help the producer do this all Kafka nodes can answer a request for metadata about which servers are alive and where the leaders for the partitions of a topic are at any given time to allow the producer to appropriately direct its requests." So I think the producer query the info before writing.
@kevalprajapati39628 ай бұрын
@KuldeepYadava - Thanks for answering the question. On top of this I have question does the producer request for "give me the leader" every time before sending message or it keeps doing on certain interval.
@shantnukumar16422 жыл бұрын
Made it to the end! Awesome video Hussein :)
@ilyakushlianski65193 жыл бұрын
Amazing, Hussein! Thanks for the overview of Kafka. I've always been a bit afraid of this beast, but now I understand at least the basics
@gokulkpeethu6642 Жыл бұрын
The best stuff on kafka . Made it so simple
@myviewsmyreviews20013 жыл бұрын
Amazing tutorial! Really find the topic interesting and easy to understand broker, producer, consumer etc.. Thanks for coming up with a great video. Hope we will get to see more on this.
@olorundareagnes9342 ай бұрын
Thanks a lot, Husseine. You definitely demystified Kafka.
@premraj.m Жыл бұрын
1:11:10 I got core point about event driven. Thank You Sir!
@yashmore77323 жыл бұрын
your contents are more enjoyable then any Phd holding professor! lol:))))))))
@hirenjoshi21983 жыл бұрын
Amazing explanation Hussein. Every single bit of your lecture is fully understandable. You made difficult thing easy with practical example. You rocked! Good Luck.
@satheeshprabhakaran53302 жыл бұрын
Made it to the end!! Amazing content!
@obiwanus4 жыл бұрын
Huge props for trying to understand things before you teach them!
@Goodwin4543 жыл бұрын
I was looking for your channel , you really good at explaining things you helped me once , I'm here again , thank you andn jazkAlllah khayran .
@PramodKumar-hu7mt2 жыл бұрын
It's good that you included jordan speech...i was just googled that video and came back
@sy52944 жыл бұрын
Your skillset is brilliant, amazing and fantastic. Thank you so much!
@unboxingsparkles57864 жыл бұрын
I made it to the end. Love the long videos and the content 👌👌👌
@hnasr4 жыл бұрын
sidra tariq thanks Sidra I like long format too 😊🙏
@DavidBwire2 жыл бұрын
Thank you for putting in the effort to make a short and clear to understand video.
@linwang74762 жыл бұрын
Very nice tutorial. Got a clear understanding of Kafka, especially the part of queue, pub sub, very helpful! Thank you so much!
@TigasFMS4 жыл бұрын
At 39:32 this doesn't work for me. I try to connect Kafka to Zookeeper but I get the following error: [main-SendThread(localhost:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket error occurred: localhost/127.0.0.1:2181: Connection refused I'm using Windows, I used localhost instead of machine name on the environment variable
@yashpalgandhi41083 жыл бұрын
same issue here as well
@sheshl4763 жыл бұрын
@@yashpalgandhi4108 Use the following command to get the internal IP of the zookeeper docker inspect zookeeper --format='{{ .NetworkSettings.IPAddress }}'
@ash3rr2 жыл бұрын
Unable to canonicalize address MacBook-Pro:2181 because it's not resolvable - what am i doing wrong bros? This happens when im firing up kafka.
@robbenbahati8 ай бұрын
made it to the end, and every detail was fully explained thanks.
@malith_videco4 жыл бұрын
Just started watching and already loving it. I wish you a happy new year and hoping to see more great content like this.
@neru45574 жыл бұрын
Just watched it straight 1 hours 18 minutes during night without skipping.
@hnasr4 жыл бұрын
Hero! I apologies for the light background on my slides that must have hurt the eyes :( I switched to dark mode on my future videos..
@susmitvengurlekar2 жыл бұрын
Made it till the end ! You can explain something in a super simple manner if and only if you understand it And you do, Thanks !
@mzaman86604 жыл бұрын
This is brilliant and concise. Been looking for a channel like this 👍🏾
@hnasr4 жыл бұрын
M Zaman enjoy the content 🙏
@pongching86974 жыл бұрын
Clear and easy to understand. Although it's a long video, but not boring at all.
@shubhamchandra3363 жыл бұрын
Really enjoyed this informative session and yeah, made it to the end !!!
@shivangitomar55573 жыл бұрын
This is THE BEST video on this topic. Thanks a lot!
@beatagryczka71083 жыл бұрын
Amazing video! You have the talent to explain the complicated stuff really clearly😊
@flippolis712 жыл бұрын
This is a great video to understand what Kafka is and how it works, very well explained!
@anupkumarbaranwal4 жыл бұрын
Hi Hussein, Really nice video.. And yes I completed till the end 'WITHOUT Sleeping 😃. Such a nice tutorial. You earned a subscriber.. 😊
@hnasr4 жыл бұрын
anup kumar thank you Anup 🙏 welcome to the channel glad you enjoyed the content
@LuciferAndi4 жыл бұрын
Hey ! Good video that I enjoyed it a lot. I have heard of kafka and wondering what is for and how to use, and now everything is clear for me thanks to your simple explication. and I hope you will make more videos in the future about full stack developing.
@hnasr4 жыл бұрын
Glad to hear that!
@souravsarker39134 жыл бұрын
Really.. amazing contents... Finally i could understand kafka works and specially consumer groups...
@sm.enosis3 жыл бұрын
11:22 I watch Jordan Peterson too (and quite separately Kafka is in my list of things to learn). When I hovered over the thumbnail of this video it was showing Jordan Peterson (btw, I watched that lecture before). That got me thinking, what the hell is Jordan Peterson doing in a video about Kafka! Is this a glitch or something? So I clicked this video, and got this amazing content. Thank you Hussein. And yes, I found Jordan Peterson here too 😁
@alishoman28263 жыл бұрын
the simplest and best tutorial ever!! Good Job
@atom_rr2 жыл бұрын
You're killing me man "LISTENERRRS" 🤣 ! Great video by the way.
@princeabdul42904 жыл бұрын
Brother you're videos are phenomenal they are just top notch.
@sindhumohana61643 жыл бұрын
Amazing video Hussein ! The way you explain helps to register the information in our memory :-)
@bhaveshgujarathi926 Жыл бұрын
made it to the end 🤟. It was a very good explanation with great clarity. Really Appreciate your work! Thanks a lot 🙏
@mosespeter97113 жыл бұрын
I made it to the End!!! Thanks so much Hussein!
@a.yashwanth Жыл бұрын
₹40 is nothing but I wanted to give something to encourage others to do the same.
@PrashantKhanolkarUSA2 жыл бұрын
Amazing video, you have made a complex topic extremely simple with your style of teaching.
@hvuupadhyay5418 Жыл бұрын
Made it to the end! Yay! Nice video Hussein!
@hangduong6683 Жыл бұрын
oh my god I love this video so much =]] this is such an amazing tutorial and how funny the instructor is : D
@umair.ramzan4 жыл бұрын
made it to the end :))) Thank you Hussein, you are the best!!
@wanitooo2 жыл бұрын
Amazing video. A gifted teacher like this is quite rare ♥Thanks a lot!! btw made it to the end 😆
@abhasupadhayay64204 жыл бұрын
Really amazing!!! So many concepts explained in an easy and interesting way. Please keep up the great work.
@amirhosseinmoayedi6205 Жыл бұрын
truly amazing-so simple and incredibly useful. Great job!
@priyaranjankumarverma23414 жыл бұрын
I really appreciate you from my deep of heart for explaining such complex concepts in super simple way, Excellent :)
@mazzoleniit273 жыл бұрын
Finally a funny geek! I have enjoyed the video
@sonjoychakraborty5712 жыл бұрын
Awesome, such an wonderful session and easy way to represent can only be possible by Hussain Nasser only. It truly cleared lot's of my confusions. Hats Off. Keep up going ..