16. System Design - Distributed Messaging Queue | Design Messaging Queue like Kafka, RabbitMQ

Поделиться
HTML-код
  • Опубликовано: 26 сен 2024

Комментарии • 165

  • @santoshkumar-qf3ke
    @santoshkumar-qf3ke 7 месяцев назад +24

    teaching is an art, he literally said … “tell me” ….. reminded me of my math teacher

    • @ConceptandCoding
      @ConceptandCoding  7 месяцев назад +1

      loved your comment buddy thans a lot means lot to me

  • @shaijil09
    @shaijil09 3 месяца назад +4

    I have worked in multiple systems with Kafka as a messaging broker. This video is an excellent tutorial ❤. I would love to see more tutorials that explain concepts like timeouts, effects on networking latency in polling, etc.

  • @jaideeppyne1880
    @jaideeppyne1880 10 месяцев назад +5

    This is one of the best Kafka videos I have seen on RUclips. You have taught so nicely here that I am looking for a playlist only of Kafka in your channel. A few things that were best -> format of the video, you started with a small box and kept on adding pieces, separately explained broker, topics, partition, consumer, consumer groups, then cluster, and zookeeper ... this gave an idea which is what and small functional components kept adding up and formed the full system. BEST!
    Few things I think can be added to make this a true masterpiece and no need to watch any other videos -> some twisted cases maybe.. complex cases with multiple partitions, multiple machines, and different partitions of the same topic in different brokers. Several other cases and a bit more extension of this in part 2 would be great. These questions are asked sometimes by the interviewer to test the knowledge.

    • @ConceptandCoding
      @ConceptandCoding  10 месяцев назад

      Noted, thanks will add more videos on Kafka to covered more usecases

  • @manansahlot9906
    @manansahlot9906 Год назад +3

    Thank you so much for sharing high level architecture of Kafka. Too much informative enjoyed the video!!

  • @DeletedUser502
    @DeletedUser502 3 месяца назад +1

    Concise form, covered all the kakfa topic.

  • @makarandthakare9174
    @makarandthakare9174 Год назад +3

    Thank you for the black background. Really helps the eyes.

    • @ConceptandCoding
      @ConceptandCoding  Год назад +1

      Yes got lot of feedback for this, so switched to Black background

  • @tonystarc9567
    @tonystarc9567 Год назад

    May I confess to you that "You are my hero". Thank you for everything that you are doing. Knowledge empowers the society.

  • @nobodyknows228
    @nobodyknows228 6 месяцев назад +1

    I have watched more than ten videos on this no body explained it like you. Thanks a lot for making such content.

  • @anketpatel2312
    @anketpatel2312 Год назад +3

    Perfect one , you can come with implementing it in a project.

  • @makarandthakare9174
    @makarandthakare9174 Год назад +3

    Currently on 11th video, all amazingly explained. Thank you.

    • @ConceptandCoding
      @ConceptandCoding  Год назад +2

      Thanks buddy, hope by the time you will come to 16, i will add couple of more videos till then :)

    • @makarandthakare9174
      @makarandthakare9174 Год назад +1

      @@ConceptandCoding LLD and HLD complete ✌️😀

  • @saumyachaurasia7350
    @saumyachaurasia7350 Год назад +2

    Wow...the explanation is so on point. Thank you so much for this valuable content.

    • @ConceptandCoding
      @ConceptandCoding  Год назад

      Thank you, Saumya pls do share it with your connections ☺️

  • @novascotia2015
    @novascotia2015 Год назад +1

    love you sir. thanks for giving these classes as free

    • @ConceptandCoding
      @ConceptandCoding  Год назад

      Welcome buddy, pls do share it with your connections ❤️

  • @shamstabrez2986
    @shamstabrez2986 Год назад +1

    Dkhne se phle hi comment karta hoon I truly blve is bande kamal ka content diya hoga is session mein

    • @ConceptandCoding
      @ConceptandCoding  Год назад

      Thank you very much Shams❤️, pls do comment after watching too if you liked the video and found it informational , really wanted to know

  • @ujjalroy1442
    @ujjalroy1442 Год назад +3

    Best ever i have seen...thnxxx

  • @sudhirdharmadhikari1938
    @sudhirdharmadhikari1938 Год назад +1

    Too good ! Saved several hours of reading from the book

  • @GulabSingh-iw5nr
    @GulabSingh-iw5nr 5 месяцев назад +1

    Amazing video , great explanation
    44:29 he mean *rabbitmq* works on push approach

  • @SoniaSharma-fm8ym
    @SoniaSharma-fm8ym 19 дней назад

    Amazing tutorial👏👏👏

  • @akshitamadaan7867
    @akshitamadaan7867 11 месяцев назад +1

    Very valuable content. Thanks a lot🙏

  • @mdnayab5839
    @mdnayab5839 Год назад +1

    Thanks a lot, that was so much helpful. It cleared all my doubts😀
    Please keep up the good job!!!

  • @heykalyan
    @heykalyan Год назад +1

    awesome
    didn't know about this requeue concept
    Sunday sorted😃😃

    • @ConceptandCoding
      @ConceptandCoding  Год назад

      Thanks buddy do share it with your connections too ☺️

  • @gauravraj2604
    @gauravraj2604 4 месяца назад

    Insightfully explained. Thank you for your contributions. However, I feel you should have discussed acknowledgement part which could have provided more in-depth understanding.

  • @468hitman
    @468hitman 4 месяца назад +1

    Very well explained

  • @subhamacharya4472
    @subhamacharya4472 Год назад +2

    Great video on messaging queues 👍😃

    • @ConceptandCoding
      @ConceptandCoding  Год назад

      Thank you, pls do share it with your connections Subham ☺️

  • @AnuragMishra-ws4zc
    @AnuragMishra-ws4zc Год назад +5

    Sir in system design interview we should only know overview of it (Kafka,RabbitMQ)or we should also know how to integrate it to our projects means internal working also.

    • @ConceptandCoding
      @ConceptandCoding  Год назад +3

      No internal working is not required, as in 45 mins interview thats not possible even Interviewer might not know how to integrate without reading the documentation

  • @mrinalpandey54
    @mrinalpandey54 Год назад +1

    Thanks a lot for such a great article. I have few doubts
    1. Can kafka implement both PUB/SUB or Point 2 point? Which is by default available with kafka?
    2. In last u explained about RabbitMQ and same message getting broadcasted to multiple queues. how consumer will know wheteher the message has alredeay been processed by a different consumer? what is the business use case when we want the same message to be processed by different consumer?
    3. Does kafka use Point 2 point?

    • @ConceptandCoding
      @ConceptandCoding  Год назад +2

      Kakfa is by default distributed Pub/Sub architecture.
      And it does not care whether same msg is processed by different consumer (in some other consumer group) or not.
      USECASE where same msg multiple consumer need is,
      Take the same example of Cab services (in which they are sending their location every 10sec).
      One consumer is Dashboard for all Car location in a particular area.
      Another Consumer could be logs Application, which keep logging everything.
      Another Consumer could be the Real time Cab movement.

  • @yaseenshaik2284
    @yaseenshaik2284 Год назад +1

    Very useful content. Thanks

  • @vaibhavjain1124
    @vaibhavjain1124 7 месяцев назад +2

    First great content Shreyansh. Kudos for that.
    I would like to add a bit clarification from official documentation on offset management.
    This offset mechanism where information about offset is stored in zookeeper znode is and old architecture.
    As per the latest version kafka has already moved out of dependency over zookeeper znodes to maintain the offsets, Kafka introduced an internal topic called "__consumer_offsets." The offsets are now stored as messages in this topic. Brokers replicate this topic for fault tolerance.

  • @yc98
    @yc98 Год назад +1

    Have doubts about the part where the message is stored in the dead message queue after retries in kafka, you said after certain retries it goes to the dead msg queue, but after a few minutes you explain that message is pulled by consumer itself in Kafka, so if the consumer is down it will not pull, and if it doesn't pull - message retries doesn't make sense. Can you please explain.

  • @AkashKumar-yi2jy
    @AkashKumar-yi2jy Год назад +1

    As you stated, if a partition is full, data is automatically moved to another partition. How will the hash-function know that a specific partition is full? How does Kafka handle partitions during rebalancing?
    How are network latency, data consistency, and data synchronisation handled when Kafka is used to replicate data across multiple data centers or geographic regions?

    • @ConceptandCoding
      @ConceptandCoding  Год назад +1

      Hi Akash, in Kafka msgs are also deleted from queue periodically.
      Generally it has 2 criteria:
      - Set Retention time in topic. (After that time, msg will automatically deleted)
      - Size limit, once the size limit is reached, it will purge all msg whether it's read or not.
      So same partition can be reuse again.
      Also Publisher can implement Acknowledgement approach too for make sure that Msg is actually added in the question.
      If Ack=0 means Fire and forget. Publisher sent the msg but it might not added in the queue.
      Ack=1, means msg is accepted in one more partition.

  • @GulshanKumar-jg8xs
    @GulshanKumar-jg8xs 2 месяца назад

    I have a quetion :-
    Lets say 2 different consumer from diff consumer group are reading partition 0 then they both can read partition 0 data right? Which should not be happening. But if this functionality is there in kafka then once both consumer consumes data from partition 0 then only the offset will be changed?
    Or there is any gap in my understanding, if any one can explain plz.

  • @JoJoy
    @JoJoy Год назад +1

    Excellent! Thanks!

    • @JoJoy
      @JoJoy Год назад

      One improvement you can make for your future videos is to understand the use of "read" (present tense) and "read" (past tense). You are superb in spite.

  • @tejasshaha6629
    @tejasshaha6629 Год назад

    Just amazing video. Thanks a lot ❤

  • @atulsingh6624
    @atulsingh6624 5 месяцев назад +1

    i would appreciate if you come up with video implementing the kafka using psuedo code.

  • @abhishekpattnaik8531
    @abhishekpattnaik8531 6 месяцев назад

    Hi Shrayansh,
    Suppose there is one rabbitMQ queue and there are multiple replicas of a service . The service is a consumer of this queue. In this case, will both the replicas consume the same message simultaneously? If yes then how to avoid such scenario?

  • @shawkiahmed3586
    @shawkiahmed3586 2 месяца назад

    Thanks so much. I only heard the hype of message queue, but now understood how it works under the hood. You explanation was excellent.
    I have one query: say for example, in our app we have a feature of sending push notifications to the app users for various events we can do it by kafka right? but for example, i have 10 applications and each application has the same responsibility to send push notification, can i do this using a single broker means kafka server ? is there any complexity?

    • @SanuRaj-n5q
      @SanuRaj-n5q 5 дней назад

      Create User group for the 10 notification sending pods.

  • @vikramreddy7586
    @vikramreddy7586 4 месяца назад

    Did I miss the part where queue is designed, the title Design Messaging Queue like Kafka, RabbitMQ seems misleading to me.

  • @bhaskarbhakat5689
    @bhaskarbhakat5689 4 месяца назад

    Do we really have dead letter queue thing in kafka?
    I guess we can only have this sort of functionality by adding a new topic called dead letter topic. Please correct me if I am wrong.

  • @rupeshjha4717
    @rupeshjha4717 Год назад +1

    Thanks a lot for this awesome video!
    Happy to see your channel growing now!
    It would be also helpful if you can guide how to decide how many partitions , concurrency, retentions etc should have in kafka ?
    There is no such docs or tutorial on this estimation of these things, i have struggled a lot to figure out this.
    Hope you will pick up.

    • @ConceptandCoding
      @ConceptandCoding  Год назад

      Hi Rupesh, first of all thank you.
      How many Partition should have, it depends upon traffic volume ( generally partition number is in odd like 3, 5,7 etc) but how many you needed depen upon traffic and it can be increased later also, so to answer your question there is no fixed number you can start with 1 and grow as per need

  • @prafullaingole6122
    @prafullaingole6122 Год назад

    Nice explanation. A real world practical example would have been great to connect the dots.

  • @youKnowMe4real
    @youKnowMe4real 8 месяцев назад

    whats the point of different brokers if we have replicas of partition as ultimately both in sync hence both brokers will get full queue at same time??

  • @prasoonkushwah9558
    @prasoonkushwah9558 Год назад

    very detailed one , keep going thanks

  • @rajeshreegavhale3227
    @rajeshreegavhale3227 4 месяца назад +1

    Best kafka video

  • @suheabkhan2546
    @suheabkhan2546 Год назад +1

    Zabardast

  • @karanbangia14
    @karanbangia14 Год назад

    Hey, i have a question lets suppose, there are 2 partitions for topic and there are 2 pods running on kubernetes which are pulling messages, so 1 pod will read from 1 partition, now lets suppose there is a surge in message so new partitions will be created, how will my pods know about this? adding partition based scaling is the only solution as that partition will remain idle?

    • @ConceptandCoding
      @ConceptandCoding  Год назад +1

      I don't think, Kafka support automatic scaling with partition of a topic, we have to provide the Count of partition while creating the topic.
      When we have to increase or decrease the partition, as what I am aware of, it create new topic with new count and stream the data from original to new topics which is created and update the zookeeper.
      But let me check in morning again. But this is what i know

  • @barwalgayatri4655
    @barwalgayatri4655 Год назад

    Please make Series on How Multiple Microservices talk to each other using Kafka or Rabbit MQ ?

  • @justlc7
    @justlc7 4 месяца назад

    Hey Shrayansh, could you do a similar video for GCP Pubsub? Thanks.

  • @barwalgayatri4655
    @barwalgayatri4655 Год назад

    Best Explained

  • @ArunGupta-ig2hc
    @ArunGupta-ig2hc Год назад +1

    When you say push based approach, and messages are pushed to consumers, Does that mean, bidirectional connection is established between the queue and consumer in RabbitMQ ?
    If not, what protocol is used underneath for push mechanism ?

    • @vinny1577
      @vinny1577 Год назад +1

      I agree, with all this information covered, it would have been nice to talk about how push and pull are implemented.

    • @J-India24
      @J-India24 22 дня назад

      Also, I think push based approach won't care the pace at which consumer is consuming the message and hence questions the usage of queue.

  • @prasannapm3220
    @prasannapm3220 5 месяцев назад +1

    Nice!

  • @rtrivedi39
    @rtrivedi39 Год назад

    Thanks, It gives me good understanding of both of the queues. Can we add here AWS SQS too.

  • @ankitgupta-ph4nk
    @ankitgupta-ph4nk Год назад

    Very easy and well explained, Any practical reference(Code wise) if you can share for this messaging will really helpful

  • @sumitbasu5146
    @sumitbasu5146 Год назад

    Hi Srayansh, I have one Qs.
    Suppose, Application 1 and Application 2 acts as a consumer 1 and consumer 2 and it is listening to Topic A message. Both are belong to one Consumer group.
    Now, when message published and suppose Application 1 consumed the message then will the Application 2 also consume the message?

    • @ConceptandCoding
      @ConceptandCoding  Год назад

      If 2 different applications but with same group Id means belongs to same group.
      And both are reading the same topic, then they can not read same msg.
      Because as i mentioned, inside topic there are partitions which consumer read.
      So consumers in same group, can not read same partition.
      Therefore we can say, same msg can not be read by both consumer those belong to 1 consumer group

  • @anoopamz
    @anoopamz 6 месяцев назад +1

    perfect

  • @dakshtomar9996
    @dakshtomar9996 8 месяцев назад

    One question:- if a consumer goes down in Rabbit MQ then how is a new consumer assigned to read from that queue?

  • @romechax
    @romechax 6 месяцев назад +1

    GREAT VIDEO !! May be just some grammatical errors while explaining. If that's improved, it can be world class .. keep it up

    • @ConceptandCoding
      @ConceptandCoding  6 месяцев назад +1

      sure i will improve, thanks for the feedback

  • @ankitgupta-ph4nk
    @ankitgupta-ph4nk Год назад

    I am watching it again..
    Just one question..
    Let say we only have one consumer group and 2 consumer in it..
    And we have 2 partitions inside 1 broker.
    You also said in a same consumer group each consumer assigned to a different partition.
    Now let say if 1 consumer goes down while reading from partition 1 at offeset 5..
    And assume 2nd partition is reading by consumer 2 continuing without failure..
    What will happen in this case for partition 1

    • @sam-um5wo
      @sam-um5wo Год назад

      In that case where consumers are less than partition kafka will rebalance the partition and consumer 2 will read from partition 1 for sometime and keep on doing the rebalancing again and again

    • @ankitgupta-ph4nk
      @ankitgupta-ph4nk Год назад

      @@sam-um5wo Ok, then what about consumer 2 which already reading from partition 2..

    • @sam-um5wo
      @sam-um5wo Год назад +1

      @@ankitgupta-ph4nkIt will do that In round robin fashion sometime from 1 and then sometime from 2 .Read the Kafka documentation.Thats what is consumer rebalancing in kafka

    • @ankitgupta-ph4nk
      @ankitgupta-ph4nk Год назад

      @@sam-um5wo I got this thanks man..
      Just one more thing asking out of context...
      I want to learn Low level design ..
      Let say for pizza store or any parking lot..
      How to structure all classes and what best design patterns we can use
      Do we have any resources online to thoroughly got those concepts..

  • @balakrushnabehera2800
    @balakrushnabehera2800 Год назад

    Very nice explanation. Could you please tell me about consumer group if consumer group 1 has 4 consumers does it mean that those 4 consumers does the same work like they are replicas of a particular consumer or they can be diff. Consumers doing different jobs. Basically I am asking while creating consumer groups on what basis we divide consumers to different consumer groups like they are grouped as replicas to each other or consumers doing different works can be grouped to one consumer group??

    • @ConceptandCoding
      @ConceptandCoding  Год назад +1

      Each Consumers are not replicas. Depending upon company needs different consumer application might be created, let's say one app need cars location data to create dashboard for users.
      But other need the data for doing something else. If both needed same data they need to be put into different consumer group

    • @balakrushnabehera2800
      @balakrushnabehera2800 Год назад +2

      @@ConceptandCoding So you are saying that if two consumer applications need same data then they need to be placed in diff consumer groups as keeping them in same consumer group the applications cannot read the message concurrently??

  • @Anjali_Ranveer_Singh
    @Anjali_Ranveer_Singh 7 месяцев назад

    what happens when the dead letter queue overflows?

  • @satyamtiwari5515
    @satyamtiwari5515 Год назад

    Hey, Could you please share your hand written material i-e oneNote/ipad link too for the reference.

  • @lemonginger001
    @lemonginger001 Год назад

    I have one doubt .. kafka is pull based then why will zookeeper take care of assigning topic to a consumer 2 when consumer 1 goes down? Isn't it consumer's responsbility

    • @ConceptandCoding
      @ConceptandCoding  Год назад +1

      This is configuration based logic, as per my understanding, when consumer group is created, it configure the strategy by which it decide which partition to assign to which consumer, which strategy to choose when any consumer goes down.
      And strategy i think is Kafka platform code(called partition assignor). Let me double check where does this code logic or strategy resides.

  • @ADITYAKUMARking
    @ADITYAKUMARking Год назад

    Hey,
    Let’s assume in consumer group, there are two consumer 1 and 2. If consumer 1 went down, then will consumer 2 start reading from the partition which was assigned to consumer 1?
    What if consumer 2 was already assigned assigned a partition, what will be behaviour now? Also judging from the design here do consumer group consists of single service(with multiple instance/pods)?

    • @ConceptandCoding
      @ConceptandCoding  Год назад

      Consumer 2 will now take care of both the partition of a topic.

    • @mrinalpandey54
      @mrinalpandey54 Год назад

      @@ConceptandCoding hi but in the video u taught that at a time only 1 consumer can interact with 1 partition. So is this an exception case or do we have any configuration through which a consumer can talk 2 partitions? Can a consumer read from more than 1 partition?

    • @ConceptandCoding
      @ConceptandCoding  Год назад

      As per Kafka documentation.
      If there is 2 partition and 1 consumer, then 1 consumer can read from both Partition.
      But if there are 2 or more consumers active and 2 partition, then correct configuration should be that each consumer should mapped to different partition

  • @Telugu_lifestyle
    @Telugu_lifestyle Год назад

    Hi.
    Thanks for the Wonderful explanation.
    Please help me in getting clarity for below one's
    1. I hope the P2P queue can be achieved by pub sub (kafka and Rabbitmq with Direct exchange technique). If not kindly help me in knowing it
    2. How key (hash) in sender payload decide to push the message in kafka partition topic. Does the key's hash is generated based on partition information?
    Thanks in advance and thanks for the effort ☺️😊

    • @AkashKumar-yi2jy
      @AkashKumar-yi2jy Год назад

      We can design a topic or exchange that is unique to every producer-consumer combination to establish a P2P queue where each producer has a queue to send messages to and each consumer has a queue to receive messages from.
      This is possible in RabbitMQ by using a direct exchange, which routes messages to queues based on a routing key. Each producer can have its own queue, and each consumer can use its routing key to consume from a specific queue. This is possible in Kafka by using topics, in which each producer publishes to a specific topic and each consumer subscribes to a specific topic.

    • @AkashKumar-yi2jy
      @AkashKumar-yi2jy Год назад

      The hash value of the key is used to determine which partition the message is assigned to. The MurmurHash2 algorithm is used to generate the hash value, which is not directly based on partition information. The number of partitions in the topic, however, has an effect on the calculation of the partition to which the message is assigned because the hash value is taken modulo the number of partitions.

    • @ConceptandCoding
      @ConceptandCoding  Год назад

      Thanks Akash for the input.
      And regarding the first point can P2P be implemented via PubSub like Kafka.
      By putting one consumer and Consumer group, we can get the P2P behaviour.
      But in general Kafka is Pub Sub pattern

  • @aartikelkar397
    @aartikelkar397 11 месяцев назад

    Thankyou for the valuable videos!
    I have a doubt at 27:00 - you mentioned that consumer2 will start consuming msgs from partition1 but earlier you said that each consumer of a CG will consume msgs from different partitions. Here what if the C2 is consuming msgs from P2 already?

    • @brahm_and_coding
      @brahm_and_coding 11 месяцев назад +1

      when c1 goes down the consumer group will pick the next available consumer to resume the processing

    • @aartikelkar397
      @aartikelkar397 11 месяцев назад

      @@brahm_and_coding thanks

  • @suranjanachattopadhyay4979
    @suranjanachattopadhyay4979 Год назад

    Could you please elaborate the retry mechanisms that should be used while using kafka?

  • @sharmath101
    @sharmath101 Год назад

    Suppose there are multiple consumers from same group and they are reading message from same topic A.what if they want to read same message msgA which is present in Partition0. Does producer push duplicate message to each partition in the topic. How this can happen.

    • @ConceptandCoding
      @ConceptandCoding  Год назад

      No that's not possible as per Kafka documentation.
      2 consumers in one consumer group can not read from Same partition.
      But same msg can be present in different partition of a topic. That logic need to be present at publisher, to publish same msg one for say Partition0 and another partition1.

    • @sharmath101
      @sharmath101 Год назад

      @@ConceptandCoding Here i am considering a consumer to be suppose ServiceA , ServiceB . Both need to work on msgA. so msgA will be pushed to both the partition in a topic. Am i thinking right?

    • @ConceptandCoding
      @ConceptandCoding  Год назад

      @@sharmath101 right.
      But generally if ConsumerA and ConsumerB both need to work on same partition, the correct way is they should be part of different consumer group that make more sense.
      You are right

  • @rhythmjayee9707
    @rhythmjayee9707 10 месяцев назад +1

    🔥

  • @HellGuyRj
    @HellGuyRj Год назад

    Wait a sec, RabbitMQ works on push approach right? Why did you mentioned kafka works at push approach near 44:30?

    • @ConceptandCoding
      @ConceptandCoding  Год назад +1

      Oops sorry my bad.
      I wanted to say RabbitMq.
      RabbitMq - works on Push approach
      Kafka - works on Pull approach.
      Thanks for pointing out Yash.

    • @HellGuyRj
      @HellGuyRj Год назад +1

      @@ConceptandCoding no worries, mistakes happen. Btw you are doing absolutely godly. Thanks for the content. We

  • @sitronco
    @sitronco 9 месяцев назад

    Thank you so much this is awesome. One quick question: Do you have the notes available anywhere?

    • @ConceptandCoding
      @ConceptandCoding  9 месяцев назад +1

      Notes are available in description section, attaching below too:
      notebook.zohopublic.in/public/notes/u3i1s522a981ed32d48bcbb0b940ee3d58f22

  • @harshitagarwal2682
    @harshitagarwal2682 2 месяца назад

    👍👍

  • @NileshKumar-fz9ok
    @NileshKumar-fz9ok Год назад

    is AWS SQS another example of Distributed Messaging Queue?

  • @khushboojain3618
    @khushboojain3618 Год назад

    Hi Great videos 👍🏻What is the software used for system design interviews

  • @kalyanbabuakula2662
    @kalyanbabuakula2662 Год назад

    Hi sir, what happen if zookeeper is down will there be a replica for this

    • @ConceptandCoding
      @ConceptandCoding  Год назад

      Yes Zookeeper is also a Distributed system, one goes down another comes up. But did not cover it else video length becomes very big

  • @prashantgupta6160
    @prashantgupta6160 9 месяцев назад

    Why can't we use db, why message queue

    • @ConceptandCoding
      @ConceptandCoding  9 месяцев назад +1

      actually both are used, queues are used to store the message temporarily and when all retry finished, it does store the failed msgs in DB.
      So multiple distributed workers can easily work on the queue and its easy to build event driven architecture using queue.
      DB is mostly for storing permanent data and doing some complex operation or queries.

  • @mehulanshumali
    @mehulanshumali Год назад

    Possible to share the slide ?

  • @subhampandey7374
    @subhampandey7374 Год назад

    What if the queue goes down for rabbit MQ?

    • @ConceptandCoding
      @ConceptandCoding  Год назад

      RabbitMq also has the same concept of broker, leader and follower. So it should behave in the same manner as Kafka

  • @sauravgupta7415
    @sauravgupta7415 8 месяцев назад

    Kafka itself does not have a built-in dead-letter queue

  • @shubhamsinghrana9262
    @shubhamsinghrana9262 11 месяцев назад

    could you please share notes on same

    • @ConceptandCoding
      @ConceptandCoding  11 месяцев назад

      Check description once pls,, if it's not there, i will add buddy

  • @sorrybabu9744
    @sorrybabu9744 Год назад +1

    One thing is wrong here partiotion is not the leader, Its Broker which is the leader in the cluster. Dont delete the comments.

    • @ConceptandCoding
      @ConceptandCoding  Год назад +1

      Leader and follower are the concept of Partition. One is leader and one or many are followers.

    • @ravikant-hi8mz
      @ravikant-hi8mz 11 месяцев назад

      To clarify, there is a leader broker machine for a particular topic and partition combo.

    • @pawanverma2575
      @pawanverma2575 8 месяцев назад

      Broker is not leader it is elected as Controller which is done by Zookeeper and the leader is one of the partition which is elected by Controller

  • @BRIJKISHOREDUTTBCE
    @BRIJKISHOREDUTTBCE 6 месяцев назад

    Why does two consumers within a consumer group can not read a same partition?

    • @ConceptandCoding
      @ConceptandCoding  6 месяцев назад +1

      This is necessary to maintain message order and prevent duplication buddy. This design ensures sequential processing within a partition, avoiding complexities associated with concurrent consumption from the same partition by multiple consumers.

  • @tejasvaidya8464
    @tejasvaidya8464 Год назад

    Sir can you please provide this document for reference

  • @ziyinyou938
    @ziyinyou938 4 месяца назад +1

    Good job mate!

  • @tech_knocking8440
    @tech_knocking8440 Год назад

    Awesome content, but video length could be long, 45.12 is a very short period of time to understand complex topics like Kafka and Rabbit. Sometimes I felt you were in a hurry to wrap it up, please take it in a positive way :)

    • @ConceptandCoding
      @ConceptandCoding  Год назад

      Thanks for the feedback Ratnakar.
      Taken this feedback

  • @HariSarvotama
    @HariSarvotama Год назад

    amazing video sir ! have been following you since many months now . any specific reason why did you switch to english instead of hindi ? i liked hindi videos more in general

    • @ConceptandCoding
      @ConceptandCoding  Год назад

      Hi Aditya, got 100s of msg that they also want to learn but do not understand Hindi, so after thinking a lot i decided to switch to English.
      - My English is very basic Kam chalu. So anybody can understand.
      - 2nd point is more than language, way of teaching is imp, and that i kept the same.
      So i moved on

  • @animeshbiswas2905
    @animeshbiswas2905 Год назад

    hello sir LLD can be done with javascript (also learned oops ) because this my first language or i need to learn java?

    • @ConceptandCoding
      @ConceptandCoding  Год назад

      Hi Animesh, LLD is OOPs concepts only.
      I am not familiar with javascript, see if all the OOPs fundamentals is possible with Java script then you are good to go)

  • @suheabkhan2546
    @suheabkhan2546 Год назад

    Hi @shrayansh
    Even after repeated requests, you are not sharing the one note links for notes😢

    • @ConceptandCoding
      @ConceptandCoding  Год назад +1

      Hi Suheab. When i convert these One note pages to PDF, it's not in format at all. No one can read and understand properly from it. Sharing those rough kind and not formatted notes is not a good impression.
      One way for me is, to write it properly and then share, but again it gonna consume some time.
      Let me reach out to some team members and see if anyone while watching video make notes. I will try to get that.

    • @suheabkhan2546
      @suheabkhan2546 Год назад +1

      @@ConceptandCoding you can directly share this one note link by making it read only

  • @sbera87
    @sbera87 7 месяцев назад

    Bro, be concise please. Too much repetition of words