👉 Implement a Kafka-like message broker with .NET BlockingCollection!

Поділитися
Вставка
  • Опубліковано 17 жов 2024

КОМЕНТАРІ • 8

  • @DotNetFun
    @DotNetFun 2 дні тому +1

    Great topic as always, explaining complex topics in the most simplest way ❤️
    I think we can also enumerate the Blocking collection in the Consume method and yield the Item back since Blocking Collection waits for new items and in close method we give the "Complete" to the blocking collection

    • @sa-es-ir
      @sa-es-ir  2 дні тому +1

      Glad you like the video and awesome suggestion about using yield, I didn't think about this option, thank you for the input.

  • @mohsenjafari634
    @mohsenjafari634 2 дні тому +4

    اولین کامنت 😅
    سامانه استعلام یکپارچه

    • @sa-es-ir
      @sa-es-ir  2 дні тому

      محسن این سامانه استعلام یکپارچه دیگه بخشی از خاطرات ماندگار منو تو شده:)))

  • @ddrsdiego
    @ddrsdiego День тому +2

    Why not use Channel?

    • @sa-es-ir
      @sa-es-ir  День тому +1

      While using Channels is ok for doing the same purpose, I find it more complicated to work with.
      Basically, I always like the visibility in the code, no magic behind the scene happening.

  • @aligeovany4645
    @aligeovany4645 День тому

    ❤❤ nice

    • @sa-es-ir
      @sa-es-ir  День тому

      Thanks! I'm glad you liked it.