Getting Started With MassTransit (Beginner Friendly)

  Рет қаралды 24,687

Milan Jovanović

Milan Jovanović

Күн бұрын

Пікірлер: 57
@MilanJovanovicTech
@MilanJovanovicTech 9 ай бұрын
Get the source code for this video for FREE → the-dotnet-weekly.ck.page/masstransit Want to master Clean Architecture? Go here: bit.ly/3PupkOJ Want to unlock Modular Monoliths? Go here: bit.ly/3SXlzSt
@myuuiii
@myuuiii 9 ай бұрын
man this is exactly what i needed yesterday 😂
@MilanJovanovicTech
@MilanJovanovicTech 9 ай бұрын
Better late than never 😅
@myuuiii
@myuuiii 9 ай бұрын
@@MilanJovanovicTech hahaha exactly, thanks for the video! I’ll be taking a closer look in a bit ⭐️
@MattOsbun
@MattOsbun 7 ай бұрын
To the point and easy to follow. Thanks for this!
@MilanJovanovicTech
@MilanJovanovicTech 7 ай бұрын
You're welcome!
@funkydiddykong
@funkydiddykong 9 ай бұрын
One thing I would like to see is how to set up a durable message queue in case there are network issues between you and where you are publishing and how to correctly handle it without data loss. An additional requirement might be that message ordering is important, so just resending "dead letter" messages is not the best idea.
@MilanJovanovicTech
@MilanJovanovicTech 9 ай бұрын
That's an interesting topic
@funkydiddykong
@funkydiddykong 9 ай бұрын
@MilanJovanovicTech it's a problem I have had lately where inbound on-premises services sometimes disconnect for the service bus resulting in some data loss over long periods.
@MattOsbun
@MattOsbun 7 ай бұрын
If MassTransit implements this like NServiceBus does, it's an under the hood inbox/outbox pattern. But I'm also looking to see how MT handles this.
@MattOsbun
@MattOsbun 7 ай бұрын
Also, ordering should be irrelevant in a messaging system. Udi Dahan has some interesting thoughts on race conditions in messaging systems, but his conclusion is that there are no race conditions, just business processes that need to be explored more deeply.
@valterdebrito3990
@valterdebrito3990 8 ай бұрын
The best! Thanks for the video!!!!
@MilanJovanovicTech
@MilanJovanovicTech 8 ай бұрын
You're welcome!
@Mark-jk1jv
@Mark-jk1jv Ай бұрын
Another good one!
@MilanJovanovicTech
@MilanJovanovicTech Ай бұрын
Thanks again!
@OscarAgreda
@OscarAgreda 3 ай бұрын
Have you considered the implications of using MassTransit in a high-throughput, low-latency environment like high-frequency trading?
@MilanJovanovicTech
@MilanJovanovicTech 3 ай бұрын
Probably not an ideal option from a performance perspective
@GlobeTrotter-wi4ck
@GlobeTrotter-wi4ck 4 ай бұрын
Great video! I'm curious which theme you are using in VS?
@MilanJovanovicTech
@MilanJovanovicTech 4 ай бұрын
It's ReSharper syntax highlighting
@lalitap-ei5mc
@lalitap-ei5mc 9 ай бұрын
Excellent Video.
@MilanJovanovicTech
@MilanJovanovicTech 9 ай бұрын
Thank you very much!
@felipemarques3997
@felipemarques3997 9 ай бұрын
Millan, in this example you are using, your communication is in the same solution. Does MassTransit support communication between different solutions?
@_JustBeingCasual
@_JustBeingCasual 9 ай бұрын
Its a messaging queue, so you are directly connected to the queue, so why would it matter what solution you are using?
@felipemarques3997
@felipemarques3997 9 ай бұрын
​@@_JustBeingCasual I read that MassTransit use namespace to configure the messaging . So in differentes solutions with differents namespace it would be a problem.
@_JustBeingCasual
@_JustBeingCasual 9 ай бұрын
@@felipemarques3997 Hmm interesting, the contracts at least would be shared between solutions right? So in that case there could not be any issue, i think.
@felipemarques3997
@felipemarques3997 9 ай бұрын
@@_JustBeingCasual Yes, exactly. But how do we share contracts between two different solutions?
@_JustBeingCasual
@_JustBeingCasual 9 ай бұрын
​@@felipemarques3997 There are different ways to do that, like including a '.dll' file, create a nuget package for those contracts. Well, that's the two ways that I can think off at the moment.
@mkmerlinyt
@mkmerlinyt 9 ай бұрын
Milan, are you planning to extend your course with Messaging?
@MilanJovanovicTech
@MilanJovanovicTech 9 ай бұрын
That's a great idea honestly, I'm adding that as a project and I'll see when I can fit it into my schedule :)
@MohamedibnAhmed
@MohamedibnAhmed 4 ай бұрын
why when i seperate the project the publisher is publishing but the consumer never Consume i am using rabbitmq?
@MilanJovanovicTech
@MilanJovanovicTech 4 ай бұрын
Does the consumer connect to RabbitMQ?
@MohamedibnAhmed
@MohamedibnAhmed 4 ай бұрын
yes it is connected to RabbitMQ and when i use RabbitMQ Without MassTransit it works well
@cmonstokeST4
@cmonstokeST4 5 ай бұрын
If I want send a message to an azure service bus topic why do I need to create and register a consumer?
@MilanJovanovicTech
@MilanJovanovicTech 5 ай бұрын
You don't need a consumer to send... You need a consumer to handle the message.
@cmonstokeST4
@cmonstokeST4 5 ай бұрын
@@MilanJovanovicTech must be something wrong with my code then as it would not send until I created one 🤔 thanks for the reply
@MilanJovanovicTech
@MilanJovanovicTech 5 ай бұрын
@@cmonstokeST4 I think for ASB to work with MassTransit you'll need to be on the Premium plan. Check their docs for more details.
@mostrealtutu
@mostrealtutu 9 ай бұрын
im sometimes wondering if people even read docs, looks like they dont, according to all those comments : (
@MilanJovanovicTech
@MilanJovanovicTech 9 ай бұрын
I'm sure they do, when they need to build something 😁
@_NguyenHaoTien
@_NguyenHaoTien 2 ай бұрын
Could you help me how to config dead-letter in Masstransit 😢
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Doesn't MT do it by default with _error queues?
@mohamedhajjaj2014
@mohamedhajjaj2014 9 ай бұрын
Thanks bro
@MilanJovanovicTech
@MilanJovanovicTech 9 ай бұрын
Any time
@eliezerbwana2526
@eliezerbwana2526 7 ай бұрын
Very helpful video. But I've a question, is it recommended to use the Inmemory process in modularMonolith??
@MilanJovanovicTech
@MilanJovanovicTech 7 ай бұрын
Recommended? No. But it is "good enough" that it gets the job done.
@joga_bonito_aro
@joga_bonito_aro 9 ай бұрын
Noice. How about a comparison video between MassTransit and Wolverine? Wolverine is the new hotness on the block and looks very promising for decoupled systems. Especially when integrated with MartenDB, Wolverine looks like a must use tool.
@MilanJovanovicTech
@MilanJovanovicTech 9 ай бұрын
Doesn't seem nearly as powerful as MassTransit, and a bit too opinionated for my liking. I'll do some research, though 👌
@joga_bonito_aro
@joga_bonito_aro 9 ай бұрын
@@MilanJovanovicTech I think you're perfectly right. But I can't quite put my finger on it why People think Wolverine is as good as it's hyped up to be
This Is What MassTransit Does to Your Message Broker | RabbitMQ
14:21
Milan Jovanović
Рет қаралды 11 М.
Build Clean Messaging in .NET with MassTransit
21:44
Nick Chapsas
Рет қаралды 102 М.
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 15 МЛН
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 28 МЛН
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 43 МЛН
What is RabbitMQ?
10:10
IBM Technology
Рет қаралды 329 М.
How much microplastic are you breathing in at home?
2:55
Sky News
Рет қаралды 9 М.
RabbitMQ in 100 Seconds
2:31
Fireship
Рет қаралды 628 М.
Programming Is Cooked
9:30
ThePrimeTime
Рет қаралды 130 М.
How To Build Loosely Coupled Microservices With MassTransit
23:01
Milan Jovanović
Рет қаралды 37 М.
What is Apache Kafka®?
11:42
Confluent
Рет қаралды 369 М.
Yaml Tutorial | Learn YAML in 18 mins
18:05
TechWorld with Nana
Рет қаралды 644 М.
RabbitMQ Explained - Exchanges
5:40
CloudAMQP
Рет қаралды 91 М.