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

КОМЕНТАРІ • 142

  • @srikanthrangoji7081
    @srikanthrangoji7081 2 роки тому +8

    Im placed in MNC company by going through all your series ... thankyou.... You are adding immense value to alot of ppl careers ...

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

      Thanks a lot Srikanth. Great to hear this. It motivates us to keep going ☺👍

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

    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 🙏

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

    The information that you guys provide are very useful , so please explain and upload everything you guys have

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

      Thanks Sandeep. Sure 🙂👍

  • @akashdeep504
    @akashdeep504 2 роки тому +13

    Great videos. Got placed yesterday in a company seeing your videos on Java and Microservices.

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

      Well deserved Man. Many congratulations🎉🎉🎉 Akashdeep. Keep learning keep shining. You deserve all heights in your career 👏👏

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

    The kind of explanation you give is commendable. Please continue this never stop.
    Please create video on executor service and multithreading

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

      Thanks a lot Pranjal🙂🙂

  • @viswathecool
    @viswathecool 2 роки тому +3

    Got Two offers in hand because of watching your videos, you are doing great job. Please continue educating us, you are awesome ✌️. Thanks alot

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

      Thanks a lot Venu 🙂🙂

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

    It was really helpful to grasp the comparative understanding between RabbitMQ and Kafka, thank you

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

      Thanks Aman 👍👍

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

    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 🙏🙏

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

      🙂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 🙃

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

    You are amazing, keep going plz. You videos made my professional career stepforward. Many thanks

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

      So glad to know that🙂🙂thanks a lot. Keep learning keep shining girl ⭐✨⭐✨

  • @chethanvenkatesh7901
    @chethanvenkatesh7901 2 роки тому +3

    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.

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

      Many congratulations on cracking ford Man 👏👏 well deserved. 🙂🙂keep learning keep shining Chethan 👍👍

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

      I am working at ford currently. :) Thanks Code Decode for making these topics so simple to understand. Beautiful work :)

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

    Thanks for teaching such complex topics in a very easy way!!!

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

      Thanks Rajat 🙂🙂

  • @proofs1
    @proofs1 2 роки тому +3

    Thank you for all the hard work & simplicity in explanation!
    Please upload the videos of terminology and then we can move towards implementations.

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

      Sure Prafull thanks for helping in deciding priorities 👍🙂

  • @sidhanshuraghuvanshi1
    @sidhanshuraghuvanshi1 Рік тому +5

    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.

    • @sandiyr1989
      @sandiyr1989 5 місяців тому

      yes you r right...i was very confused about that...

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

    Simple and powerful video mam... Keep posting lot of new videos

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

    Thanks for the video.Please continue the concepts.

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

      Thanks Shruti🙂🙂 Sure we will continue with terminologies and architecture then. Thanks for helping us in deciding priority Shruti.

  • @AvinashKumar-tk5bd
    @AvinashKumar-tk5bd 2 роки тому +1

    mostly needed Video .Thankyou very much 😀

  • @krishnajha9700
    @krishnajha9700 2 роки тому +3

    I have been waiting for this tutorial, please make more tutorial on rabbitMQ and JMS implementation

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

    Thanks a lot... I am waiting for video from long time. 👍

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

      Sorry to keep you waiting Nagi 🙂 hope it helps🙂🙂

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

    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.

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

      Well deserved Rajneesh 🎊🎊many congratulations Man. 👏👏👏👏👏keep learning keep shining ⭐✨⭐✨⭐✨⭐✨

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

    Grate video, waiting for next one

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

      Sure we will upload next part soon👍👍

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

    Please make the third part as well. Your videos are extremely helpful to understand various concepts easily.

  • @user-hy5ee8dh7z
    @user-hy5ee8dh7z Рік тому

    Thank you so much, please continue with these videos , thank you

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

      Sure kartik we will upload more videos

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

    Your way of explanation is superb...great videos..

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

    Hi mam
    Your voice is so clear and clearing the concepts is 👌👌👌👌👌

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

    most waited one. thank you

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

    Excellent Video series very helpful

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

    Thanks for the videos really appreciate it. With Some implementations also please just the basics can be useful 🧑‍💻🤗

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

      Thanks a lot🙂🙂 sure implemention is already uploaded now 👍🙂

  • @rishiraj2548
    @rishiraj2548 Місяць тому +1

    Thanks for so comprehensive explanation.

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

    Great share as always !!!
    Please go through the terminology once and then we can proceed with the actual implementations.
    🙂

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

    Ma'am you are really doing well ❤️

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

    Wow. Awesome video. Please go ahead with terminologies👍

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

      Thanks Akash 👍Sure 🙂

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

    great initiative, keep growing.
    also plan for GraphQL for java developers.

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

      Yes it's all in pipeline grpc, graphql all these🙂👍

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

    Kafka allows to set the retention policy as required. Basic retention period for any topic is about 7 days.

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

    Great video!!! Kindly explain terminology followed by implementation.

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

    Thanks for uploading kafka video tutorial ...

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

      🙂🙂

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

      @@CodeDecode madam want java real time project and tools like bitbucket, jira please do videos on tools we use in real time

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

      Sure we do have git video though. Will upload these too soon🙂👍

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

      please do realtime banking project madam

  • @Kk-hm9hm
    @Kk-hm9hm 8 місяців тому

    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?

  • @dummymail6029
    @dummymail6029 3 місяці тому +1

    great video thanks code decode

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

    Great videos....Please publish videos on JMS - ActiveMQ using Spring Boot, microservices. Thanks!

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

      sure jay we will create it soon

  • @kalekar100
    @kalekar100 2 роки тому +3

    Great 👍 please consider explaining terminologies and architecture as well

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

      Sure Sourabh. Thanks for helping us in deciding priority Sourabh 👍🙂

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

    Great stuff 😊 thanks 👍

  • @neha6000
    @neha6000 2 роки тому +3

    👏👏👏 thank you ❤❤

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

    excellent explanation

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

    Thank you team. Pls upload zookeeper and corelationid details on kafka

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

    Terminology and Architecture 🙏

  • @sourabhkumarsingh9236
    @sourabhkumarsingh9236 3 місяці тому

    Please make video on GraphQl and GRPC with implementation and interview questions.

  • @manojkumar-fb6mp
    @manojkumar-fb6mp Рік тому +1

    Nice 👍

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

    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

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

      Hi Chanchal. So glad to have you with us. U can always connect one to one with us on Instagram .

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

    Please do video on kafka stream it will very helpfull for us thanks 🙏

    • @CodeDecode
      @CodeDecode  8 місяців тому

      Sure lokesh 🙂👍

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

    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

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

    Thanks!

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

    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?

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

      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

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

    Pls share the terminology and architecture. Thank you @codedecode team

  • @rishinethpanda2537
    @rishinethpanda2537 2 роки тому +16

    i want architecture and terminology as well implementation

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

    please continue with terminologies and then code

  • @RahulSuram
    @RahulSuram 3 місяці тому

    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.

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

    Intro "Welcome to Code Decode" is enough not to skip the video..🙂

    • @CodeDecode
      @CodeDecode  8 місяців тому

      Thanks for the nice words

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

    Please explain us the terminologies and architecture also and then explain us the implementation

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

      Sure Thanks for helping us in deciding priority Venu 🙂🙂👏👏

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

    Plese create a project using spring boot, jpa, mysql full backend.

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

    plz make video on jpos and implementation thr r vry limited resources to learn jpos

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

    Where can I get those slides?

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

    Where video you describe point to point please like you mentioned at beginning of the video

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

      ua-cam.com/play/PLyHJZXNdCXsd2e3NMW9sZbto8RB5foBtp.html
      Here microservices communication part

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

    I want all terminology & details understanding for kafka

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

    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 ?

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

      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

  • @pradeepkumar-qu1gc
    @pradeepkumar-qu1gc Рік тому

    Hi, Can you provide these PPT's to us?

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

    Need all description in details of all terminology

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

      Sure we will put video on that👍🙂

  • @MohitSharma-uq2vm
    @MohitSharma-uq2vm 3 місяці тому

    Ma'am what are the 5 hidden secrets??

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

    Please explain all the topics

  • @abhishekmoola5029
    @abhishekmoola5029 5 місяців тому

    I want architecture

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

    Terminologies are required...

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

      ua-cam.com/video/spKzUOQhfV4/v-deo.html
      Terminology and archi

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

    Correlation I'd explanation pls

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

    Terminology please

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

    Please share PPT of this

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

      Hey Ranjitha. Everything is in description below👍👍. Anything I can help you with Girl?

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

      As of now your videos are enough to fill my learning thirst...Thanks for all the videos.

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

      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.