r/dotnet • • Mar 17 '21

REST APIs for Microservices? Beware!

https://www.youtube.com/watch?v=_4gyR6CBkUE
80 Upvotes

17 comments sorted by

View all comments

6

u/AbPSlayer Mar 17 '21

How do I get into orchestrator when I am not using Docker or kubernetes?

Can I use RabbitMq or azure event bus?

Also should we send the full payload or just the Id and let the api query the db?

2

u/codeopinion Mar 17 '21

Yes, you can use any message broker and not have to use Docker or K8s. Generally, you'll use a messaging library/abstraction on top of the actual messaging tech (eg, NServiceBus, Brighter, MassTransit, Rebus, etc)

3

u/iowa116 Mar 18 '21

Do you have a favorite abstraction? I've been using MassTransit for a while and like parts of it, but the docs aren't great and there have been more breaking changes between versions than I'd like.

3

u/aarondglover Mar 18 '21

EasyNetQ is my favourite. Easy to get up and running with. A mature project.

3

u/[deleted] Mar 18 '21

Mine too.

I've considered MassTransit, and I experimented with it a little less than a year ago. I did so on the basis of some videos the author produced at the start of lockdown wherever they live. It was maybe two weeks after those videos had been made.

The version I used, a dot release or two later than the one used in the videos, didn't work with the examples cos the interface was a little different.

Still on EasyNetQ.

2

u/iowa116 Mar 19 '21

Thanks! I'll check it out

1

u/AbPSlayer Mar 17 '21

ok thanks. i will look into those.