Kafka tutorial for Beginners | Kafka vs Active/Rabbit MQ | Interview Questions| Code Decode | Part-1
Вставка
- Опубліковано 19 лип 2022
- In this video of kafka tutorials for beginners we have explained about kafka for experienced and beginners which includes :
Udemy Course of Code Decode on Microservice k8s AWS CICD link:
openinapp.co/udemycourse
Course Description Video :
yt.openinapp.co/dmjvd
Kafka implementation with producer and consumer :
• Kafka Implementation w...
Kafka Architecture : • Apache Kafka Key Termi...
What is Kafka
Apache Kafka is publish-subscribe based fault tolerant messaging system. It is fast, scalable and distributed by design.
It was initially thought of as a message queue and open-sourced by LinkedIn in 2011. Its community evolved Kafka to provide key capabilities:
Publish and Subscribe to streams of records, like a message queue.
Storage system so messages can be consumed asynchronously. Kafka writes data to a scalable disk structure and replicates for fault-tolerance. Producers can wait for write acknowledgments.
Stream processing with Kafka Streams API, enables complex aggregations or joins of input streams onto an output stream of processed data.
Traditional messaging models are queue and publish-subscribe. In a queue, each record goes to one consumer. In publish-subscribe, the record is received by all consumers.
Pros of Kafka
Loose coupling - Neither service knows about each other regarding data update matters.
Durability - Guarantees that the message will be delivered even if the consumer service is down. Whenever the consumer gets up again, all messages will be there.
Scalability - Since the messages get stored in a bucket, there is no need to wait for responses. We create asynchronous communication between all services.
Flexibility - The sender of a message has no idea who is going to consume it. Meaning you can easily add new consumers (new functionality) with less work.
Cons of Kafka
Semantics - The developer needs to have a deep understanding of the message flow as its strict requirements. Complex fallback approaches may take place.
Message Visibility - You must track all those messages to allow you to debug whenever a problem occurs. Correlation IDs may be an option.
Most Asked Core Java Interview Questions and Answers : • Core Java frequently a...
Advance Java Interview Questions and Answers : • Advance Java Interview...
Java 8 Interview Questions and Answers : • Java 8 Interview Quest...
Hibernate Interview Questions and Answers : • Hibernate Interview Qu...
Spring Boot Interview Questions and Answers : • Advance Java Interview...
Angular Playlist : • Angular Course Introdu...
SQL Playlist : • SQL Interview Question...
GIT : • GIT
Subscriber and Follow Code Decode
Subscriber Code Decode : ua-cam.com/users/CodeDecode?...
LinkedIn : / codedecodeyoutube
Instagram : / codedecode25
#kafka #codedecode #kakfainterviewquestions
Im placed in MNC company by going through all your series ... thankyou.... You are adding immense value to alot of ppl careers ...
Thanks a lot Srikanth. Great to hear this. It motivates us to keep going ☺👍
Great videos. Looking forward for further videos on especially in this Kafka messaging system. Great work and thanks a lot for your effort. Keep up the same work where we can learning the technical items from your videos so quickly.Thank you 🙏
Thanks Senthil🙂👍
The information that you guys provide are very useful , so please explain and upload everything you guys have
Thanks Sandeep. Sure 🙂👍
Great videos. Got placed yesterday in a company seeing your videos on Java and Microservices.
Well deserved Man. Many congratulations🎉🎉🎉 Akashdeep. Keep learning keep shining. You deserve all heights in your career 👏👏
The kind of explanation you give is commendable. Please continue this never stop.
Please create video on executor service and multithreading
Thanks a lot Pranjal🙂🙂
Got Two offers in hand because of watching your videos, you are doing great job. Please continue educating us, you are awesome ✌️. Thanks alot
Thanks a lot Venu 🙂🙂
It was really helpful to grasp the comparative understanding between RabbitMQ and Kafka, thank you
Thanks Aman 👍👍
I think everyone should be grateful and contribute to the channel considering immense value provided by the creator and that too for free. It is all evident from the fact that many people are getting placed including myself into big tech companies purely watching videos of this channel. So, I am really thankful to this channel and will keep on contributing from time to time. I urge everyone to please contribute so that the channel grows and flourishes. This will not only help the creator to create more valuable videos but also help you get placed in your dream company. Thank you once again 🙏🙏
🙂you made our day Sourabh. This means a lot to us. Such words motivates us to put more such videos. You have been our constant support though out our journey. We are so glad to have u on board 🙃
You are amazing, keep going plz. You videos made my professional career stepforward. Many thanks
So glad to know that🙂🙂thanks a lot. Keep learning keep shining girl ⭐✨⭐✨
This channel was recommended by my friend to me. Started watching your videos just 2 days back and yesterday I got an offer from Ford. God bless for all the efforts you are taking. I'm thankful to you guys.
Many congratulations on cracking ford Man 👏👏 well deserved. 🙂🙂keep learning keep shining Chethan 👍👍
I am working at ford currently. :) Thanks Code Decode for making these topics so simple to understand. Beautiful work :)
Thanks for teaching such complex topics in a very easy way!!!
Thanks Rajat 🙂🙂
Thank you for all the hard work & simplicity in explanation!
Please upload the videos of terminology and then we can move towards implementations.
Sure Prafull thanks for helping in deciding priorities 👍🙂
Important Update: we can use pub-sub system in ActiveMQ as well; I have worked on this. Kafka can handle large sets of data, so when we have real time or large sets of data better solution is to use Kafka. Btw thanks a lot for all the videos. Great videos.
yes you r right...i was very confused about that...
Simple and powerful video mam... Keep posting lot of new videos
Thanks🙂🙂
Thanks for the video.Please continue the concepts.
Thanks Shruti🙂🙂 Sure we will continue with terminologies and architecture then. Thanks for helping us in deciding priority Shruti.
mostly needed Video .Thankyou very much 😀
Thanks Avinash🙂👍
I have been waiting for this tutorial, please make more tutorial on rabbitMQ and JMS implementation
Sure Krishna 🙂👍
Thanks a lot... I am waiting for video from long time. 👍
Sorry to keep you waiting Nagi 🙂 hope it helps🙂🙂
Just want to say , it's amazing 🤩 , Got placed more than 5 companies, only watching yours Video's. Thank you so much, Please prepare advance in MS , kaffka , GhaphQL, Sega design patterns.
Well deserved Rajneesh 🎊🎊many congratulations Man. 👏👏👏👏👏keep learning keep shining ⭐✨⭐✨⭐✨⭐✨
Grate video, waiting for next one
Sure we will upload next part soon👍👍
Please make the third part as well. Your videos are extremely helpful to understand various concepts easily.
Sure Akshat 👍🙂
Thank you so much, please continue with these videos , thank you
Sure kartik we will upload more videos
Your way of explanation is superb...great videos..
Thanks a lot
Hi mam
Your voice is so clear and clearing the concepts is 👌👌👌👌👌
Thanks
most waited one. thank you
Thanks Prakash 🙂
Excellent Video series very helpful
Thanks Pravas 😊👍
Thanks for the videos really appreciate it. With Some implementations also please just the basics can be useful 🧑💻🤗
Thanks a lot🙂🙂 sure implemention is already uploaded now 👍🙂
Thanks for so comprehensive explanation.
You are welcome
Great share as always !!!
Please go through the terminology once and then we can proceed with the actual implementations.
🙂
Sure Karishma🙂🙂
Ma'am you are really doing well ❤️
Thanks 🙂🙂
Wow. Awesome video. Please go ahead with terminologies👍
Thanks Akash 👍Sure 🙂
great initiative, keep growing.
also plan for GraphQL for java developers.
Yes it's all in pipeline grpc, graphql all these🙂👍
Kafka allows to set the retention policy as required. Basic retention period for any topic is about 7 days.
Great video!!! Kindly explain terminology followed by implementation.
Sure Ankit 🙂👍
Thanks for uploading kafka video tutorial ...
🙂🙂
@@CodeDecode madam want java real time project and tools like bitbucket, jira please do videos on tools we use in real time
Sure we do have git video though. Will upload these too soon🙂👍
please do realtime banking project madam
Thankyou for this amazing, beginner friendly series. Just having one question - in previous tutorial you explained that rabbit/active mq are part of synchronus communication, but in this diff you mentioned that it supports both sync/async, can you please clear this?
great video thanks code decode
You're welcome!
Great videos....Please publish videos on JMS - ActiveMQ using Spring Boot, microservices. Thanks!
sure jay we will create it soon
Great 👍 please consider explaining terminologies and architecture as well
Sure Sourabh. Thanks for helping us in deciding priority Sourabh 👍🙂
Great stuff 😊 thanks 👍
Thanks Srihari 🙂👍
👏👏👏 thank you ❤❤
❤
excellent explanation
Thanks
Thank you team. Pls upload zookeeper and corelationid details on kafka
Sure Padma 🙂👍
Terminology and Architecture 🙏
Sure Mahesh 👍🙂
Please make video on GraphQl and GRPC with implementation and interview questions.
Nice 👍
Thanks manoj
Hi Code Decode, You cannot even imagine how much I have achieved by just watching your videos. Keep doing good work and let me know how can I connect you?
Regards,
Chanchal kumar
Hi Chanchal. So glad to have you with us. U can always connect one to one with us on Instagram .
Please do video on kafka stream it will very helpfull for us thanks 🙏
Sure lokesh 🙂👍
Hi Madam , if the messages are not deleted and storing in disk, then how consumer came to know whether that message is already read or unread
Thanks!
🙂
Hi, I have seen code snippets where REST API calls are used to make asynchronous calls but you have clearly said that it falls under synchronous call.
can you clarify on this?
Can we send a rest api request and forget about it? Async means u send n forget about it even if receiving end is down, no issues. That's async communication
Pls share the terminology and architecture. Thank you @codedecode team
Sure Padma👍🙂
Thank you for uploading sample demo. Waiting for architecture
i want architecture and terminology as well implementation
Sure Rishineth 🙂👍
please continue with terminologies and then code
Sure Kumar 🙂👍
Great technical content videos, but could not hear for more than 30 mins due to sharp voice, getting headache. Please try to use any audio filters.
Intro "Welcome to Code Decode" is enough not to skip the video..🙂
Thanks for the nice words
Please explain us the terminologies and architecture also and then explain us the implementation
Sure Thanks for helping us in deciding priority Venu 🙂🙂👏👏
Plese create a project using spring boot, jpa, mysql full backend.
Sure👍
@@CodeDecode please do it madam
plz make video on jpos and implementation thr r vry limited resources to learn jpos
Sure Vishal 👍
Where can I get those slides?
Where video you describe point to point please like you mentioned at beginning of the video
ua-cam.com/play/PLyHJZXNdCXsd2e3NMW9sZbto8RB5foBtp.html
Here microservices communication part
I want all terminology & details understanding for kafka
Sure Dhananjay🙂👍
I have one doubt, You are saying Rabbit MQ is a point to point message broker but in RabbitMQ, there is TOPIC exchange as well that supports one to many messaging. So, why are we calling Rabbit MQ is point to point and not topic based ?
Rabbit mq is both. You can use them as both but most use cases comes around with point to point. Kafka is better for pub sub models
Hi, Can you provide these PPT's to us?
Need all description in details of all terminology
Sure we will put video on that👍🙂
Ma'am what are the 5 hidden secrets??
Please explain all the topics
sure sai
I want architecture
Terminologies are required...
ua-cam.com/video/spKzUOQhfV4/v-deo.html
Terminology and archi
Correlation I'd explanation pls
Terminology please
Sure 👍
Please share PPT of this
Hey Ranjitha. Everything is in description below👍👍. Anything I can help you with Girl?
As of now your videos are enough to fill my learning thirst...Thanks for all the videos.
You will do great Girl👏👏👏👏. M glad to see people like u . Enthusiastic to learn always 👍👍. IT world has very less people who wants to learn n grow . Most of them are toxic egoistic people with loads of experience in single language.