Spring Boot Kafka Tutorial | Mastering Kafka with Spring Boot | Apache Kafka Crash Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ม.ค. 2025

ความคิดเห็น • 10

  • @_softrider
    @_softrider 6 หลายเดือนก่อน

    Nice video❤

  • @jagannathsahu1087
    @jagannathsahu1087 6 หลายเดือนก่อน

    Thanks

  • @Aadityab17
    @Aadityab17 26 วันที่ผ่านมา

    so what will be message flow in this scenario -
    when we have 4 partition and single consumer A, 4 message produces, 4 message consume by single consumer A, now another consumer B got connected with that broker, how rebalancing will happened, from where means from beginning or latest , B will consume the message

    • @technotowntechie9732
      @technotowntechie9732  15 วันที่ผ่านมา +1

      If Consumer A consumed all 4 messages from partitions 0, 1, 2, and 3, and then Consumer B joins:
      After the rebalance, Consumer A will continue consuming from its newly assigned partitions, and Consumer B will start consuming from the latest position (the offsets already committed by Consumer A) for its newly assigned partitions.
      The exact starting point for Consumer B is determined by:
      If Consumer B is in the same consumer group as Consumer A, it will start from the latest committed offset for the partitions assigned to it.
      If Consumer B is a completely new consumer group (not part of the same group as A), it will consume from the latest offset or from the earliest offset, depending on the consumer group’s configuration (this is controlled by the auto.offset.reset setting, which can be set to earliest or latest)

    • @Aadityab17
      @Aadityab17 14 วันที่ผ่านมา

      @@technotowntechie9732 Thank u Sir :)

  • @chaitanyakumar9362
    @chaitanyakumar9362 4 หลายเดือนก่อน

    How it will work if we have multiple instances of same producer messages will be send duplicate right

    • @technotowntechie9732
      @technotowntechie9732  4 หลายเดือนก่อน

      While having multiple producer instances can lead to potential duplicates if not managed properly, Kafka's idempotent producer feature and proper configuration can help mitigate this risk.

  • @Gebrekidana
    @Gebrekidana 3 หลายเดือนก่อน

    hi do you have ppt please?

  • @oksanakazimirova
    @oksanakazimirova 4 หลายเดือนก่อน

    Udemy course about Kafka