Scheduling and Recurring Jobs with MassTransit

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 16

  • @jimmy-7-88
    @jimmy-7-88 2 місяці тому

    Hi Chris, great work. Would it be possible to add an overload to allow the option to set a routing key when adding a recurring job? The publish allows it but the new wrappers don't have a way of passing the values in. Thanks again

  • @michaelgraf4612
    @michaelgraf4612 3 місяці тому +1

    Not mentioned in this video, but I see Job Distribution Strategies were delivered in 8.3.0. This is huge for folks building multi-tenant apps that unfortunately have to route jobs for some clients to specific machines. I'm really excited to try it. Thanks!

    • @PhatBoyG
      @PhatBoyG  3 місяці тому +1

      I pulled job distribution from the concepts column after this video was published, but yes, that's coming as well and already in the documentation.

    • @michaelgraf4612
      @michaelgraf4612 3 місяці тому

      ​@@PhatBoyGfor some reason I thought 8.3.0 had already been released. My mistake. Looking forward to it then!

    • @PhatBoyG
      @PhatBoyG  3 місяці тому +1

      @@michaelgraf4612 Only the pre-release builds are available now, under the 8.2.6-develop lineage.

  • @chi-h-huynh
    @chi-h-huynh 2 місяці тому

    Thank you very much! I can't thank you enough!

  • @thomashansen2567
    @thomashansen2567 4 місяці тому +1

    Very nice stuff! 🙂 When is this going to land on main branch? 🙂

    • @PhatBoyG
      @PhatBoyG  4 місяці тому +2

      The next release will have it, either 8.2.6 or I might bump to 8.3.0 since it's a schema change on the job service sagas.

  • @allinvanguard
    @allinvanguard 4 місяці тому +1

    Cool stuff! This is probably capable of scheduling messages in single digit second frequencies, I assume? I'm currently running a selfmade redis round robin lock-based scheduler, but I would like to replace that one. I didn't use Quartz yet, but Hangfire did fail miserably at frequencies of

    • @PhatBoyG
      @PhatBoyG  4 місяці тому +1

      I mean, technically it should be capable of that, but this is not meant to be a generalized scheduling solution. I have other videos giving more details on what job consumers are and how they should be used that might be worth watching.

  • @metaverse100
    @metaverse100 4 місяці тому

    Can recurring jobs be used with Azure servicebus or only with Postgres?

    • @PhatBoyG
      @PhatBoyG  4 місяці тому +1

      Any transport can be used, for Azure Service bus, you'd just change the SQL scheduler to the UseServiceMessageMessageScheduler.

  • @mihaimyh
    @mihaimyh 4 місяці тому +1

    Amazing library but so complicated to use it.

    • @PhatBoyG
      @PhatBoyG  4 місяці тому +5

      Building distributed systems is hard. MassTransit makes it easier, but the complexity cannot be avoided without serious downstream consequences. This isn't beginner-level material, it's for people building durable, reliable applications that operate at scale. That stated, there are over one hundred videos and more than a dozen samples showing how to use MassTransit, not including content created by others.

  • @wboumans
    @wboumans 4 місяці тому +2

    Please lower your noise cancelling on your recording. It was hard to listen to.

    • @PhatBoyG
      @PhatBoyG  4 місяці тому

      I'm not sure what happened, the audio is normally fine but this video's audio is really off. Some of the tools I use were updated, I wonder if they somehow changed a setting.