Lesson 48 - Thread Delegate Pattern

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

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

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

    Thank you for the great content!

  • @alfredoquintanalopez2265
    @alfredoquintanalopez2265 4 года назад

    Great pattern!!! Greate Video!!! Thanks a lot, it's very helpful!!

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

    Thanks for this. Does keying to a partition in Kafka fall under this pattern or is there some distinction?

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

      Indeed it does. Good observation. It is a very similar pattern, with the exception that Kafka doesn't care how many messages you are processing. Also, multiple keys will be assigned to a given partition, whereas typically this pattern has one key per thread (but it doesn't have to).

  • @zoranmaksimovic5283
    @zoranmaksimovic5283 4 года назад +1

    I was accidentally doing the same thing without knowing the "pattern" as it is named here. Glad i didn't do it too much differently :)

    • @markrichards5014
      @markrichards5014  4 года назад +3

      Isn't that so true? Back in the 90's I got the Gang of Four design patterns book, sat down to read it, and said "wait, I've already been doing this...". Like you, I just didn't have a name. That IMHO is the value of patterns as a common language...

  • @prashantjha439
    @prashantjha439 4 года назад

    So Spring webflux (Mono and Fluxes) uses these patterns beneath the hood ?