This Is What MassTransit Does to Your Message Broker | RabbitMQ

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ส.ค. 2024
  • Join a community of 1000+ .NET developers: / milanjovanovic
    Master the Clean Architecture: bit.ly/3PupkOJ
    The ultimate Modular Monolith blueprint: bit.ly/3SXlzSt
    How does MassTransit integrate with your message broker? In this video, I'll explain how MassTransit connects with RabbitMQ. We'll discuss exchanges, bindings, and queues. I'll also show you how to implement the producer-consumer pattern. Lastly, we'll examine RabbitMQ and how it configures the messaging infrastructure.
    Check out my courses:
    www.milanjovanovic.tech/courses
    Read my Blog here:
    www.milanjovanovic.tech/blog
    Join my weekly .NET newsletter:
    www.milanjovanovic.tech
    Chapters
    0:00 RabbitMQ message broker
    2:31 MassTransit integration with RabbitMQ
    3:36 Stocks API integration overview
    5:20 Running RabbitMQ with Docker Compose
    6:10 Adding the MassTransit message consumer
    9:01 Purchasing stocks and consuming messages
    11:09 RabbitMQ exchanges, bindings, queues
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @MilanJovanovicTech
    @MilanJovanovicTech  หลายเดือนก่อน +2

    Want to master Clean Architecture? Go here: bit.ly/3PupkOJ
    Want to unlock Modular Monoliths? Go here: bit.ly/3SXlzSt

  • @tiagoabreu4419
    @tiagoabreu4419 หลายเดือนก่อน +2

    Great video! 🤘🏼👊🏼

  • @karthiks8612
    @karthiks8612 หลายเดือนก่อน +2

    Great i learned a lot from you

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

    Good stuff with MT, love that framework

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

      Thanks for the tips! Maybe I'll do a part two. What do you modify on the consumer side?

  • @atomicazure
    @atomicazure หลายเดือนก่อน +8

    Please make a video on the Saga pattern to use in production.

    • @MilanJovanovicTech
      @MilanJovanovicTech  หลายเดือนก่อน +2

      Did you check this? th-cam.com/video/2ynFP8Dhhsw/w-d-xo.html

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

      @@MilanJovanovicTech I was looking at your channel and I found it. Thank you Milan.

    • @drhdev
      @drhdev หลายเดือนก่อน +1

      Could do do a more advanced one using Routing Slips and Sagas and practical examples? There’s so much content to make with MT and EDA

    • @MilanJovanovicTech
      @MilanJovanovicTech  หลายเดือนก่อน +2

      @@drhdev Yes, those would be great topics to cover. They're actually on my content list, just haven't gotten around to record it.

    • @drhdev
      @drhdev หลายเดือนก่อน +1

      @@MilanJovanovicTech Awesome. I love MassTransit and am always looking for more approaches to create more complex routing

  • @giteshsingh4836
    @giteshsingh4836 หลายเดือนก่อน +2

    Will this work is saga pattern as well where multiple state machine are listning to same message? And could you please also go deep into handling failures is masstransit and saga. Thanks for your help

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

      Yes, as each saga listens on a different set of queues

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

    Hi Milan, great video!
    When do you specify to publish go Exchange instead of queue?

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

      You don't - MassTransit takes care of that

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

      @@MilanJovanovicTech you mean you fully rely on MassTransit - it will create exchanges, queues and wire it all up by fully qualified class-names? I also thought I miss where you set up queues and link consumers to them

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

    Thank you Milan! You’re such a smart boy! MassTransit is incredibly complex.

    • @MilanJovanovicTech
      @MilanJovanovicTech  หลายเดือนก่อน +1

      Boy? 🤣 Flattering, considering I'm 30 soon

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

      @@MilanJovanovicTech come on. I though you are 18 years old youngster and I started to think what a smart young people we have nowadays 😊

    • @zfold4702
      @zfold4702 หลายเดือนก่อน +1

      @torrvic1156 he is young at heart. Agreed.

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

    Milan, Can we use MassTransit and RabbiqMQ for the outbox pattern? Is that a good idea?

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

    Is it possible to implement a fair queue in rabbitMQ?

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

    koju kameru koristis za snimanje?

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

      Xiaomi 13T Pro (telefon, radi posao)

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

      @@MilanJovanovicTech i koji app, DroidCam OBS? od Androida 14 webcam je podrzan kao native usb opcija ali u praksi samo na Pixelima na zalost, ne znam kada ce i da li omoguciti i na ostalima, mozda od Android 15 koji izlazi za neki dan?

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

      @@markokraljevic1590 USB na PC. Iriun koristim da se nakacim na telefonsku kameru. I onda strimujem preko OBS. Bude lag par frejmova, ali to se ispegla prilikom montiranja.

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

    i'm familiar with mqtt & kafka, but not rabbitMQ

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

    Nothing new. Need to raise the bar now.

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

    Milan Jovanovic courses are great, but in many cases he fails to provide the course demo source code, so people can play with it, as Nick Chapsas, and Tim Corey do.

    • @MilanJovanovicTech
      @MilanJovanovicTech  หลายเดือนก่อน +2

      I do provide the source code - just not for free (mostly).

    • @maacpiash
      @maacpiash หลายเดือนก่อน +2

      If I’m not mistaken, Nick Chapsas’ code isn’t free either.