Hacker News new | ask | show | jobs
by Footkerchief 1163 days ago
In many cases, the message payload is (or should be) an ID anyway. It's seldom desirable for the message payload to include a copy of an external source of truth, because it can cause sync issues. There are exceptions, of course.
1 comments

I don’t think it should be an ID - these platforms are really made for creating distributed event-driven systems.
The idea is your task should just run off an ID, no point passing all that data around.
How do you get the data relevant to that ID?

If the answer is a call to a shared database, you might as well not have RabbitMQ.