Configuring Apache Kafka® Durability, Availability, and Ordering Guarantees

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

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

  • @marc-andrelabrosse5379
    @marc-andrelabrosse5379 2 года назад +1

    Who is handling de seq number the producer or the application ? the sequence is incremented for a given PID continusoulsy? will work with in a multi thread rpocess? will it work well if more then 1 process use the same PID?

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

    idempotence requires max.in.flight.requests.per.connection to be less than or equal to 5 ( to preserve the ordering of the messages ), retries to be greater than 0, and acks must be ‘all’

  • @kritkasemosoth7381
    @kritkasemosoth7381 2 года назад

    Informative and great visuals.

  • @mateuszkopij4120
    @mateuszkopij4120 2 года назад

    Great introduction.

  • @cmlin4221
    @cmlin4221 2 года назад

    Thanks jun rao

  • @SpittingMage
    @SpittingMage 2 года назад

    thanks for this video. I am currently in a project where Kafka is considered as a possible solution for Event Sourcing (not Event Processing in terms of Event Carried State Transfer or Event Notification). So the question boils down to: Can Kafka give the same hard guarantees as a flight recorder that events will be flushed directly and be sorted? I don't want to be bogged down in philosophical/religious discussions. Kafka is probably one of the best messaging systems out there, but would it also be the BEST solution for Event Sourcing? A simple yes or no would be great! :)

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

      I suppose it can give you close to 100% guarantees (I'm not completely sure about 100%) if you are willing to make some compromises on throughput. I don't know if kafka flushes to disk before sending acknowledgements. It's possible that it might store messages in some memory mapped files and maybe data is not flushed from memory to disk right away. I suspect some delay in which...if your broker fails...you will lose some data.

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

      you might be able to enforce those guarantees with some OS configurations (if you have the appropriate access). if anybody has more knowledge on this topic...please share