|
|
|
|
|
by carc
2588 days ago
|
|
A couple of big reasons don't like message buses (but open to hearing about why I'm wrong): -All "requests" will succeed even if malformed -Couples producers/consumers to the bus (unless you put in the extra work to wrap it in a very simple service) |
|
Took me a minute to grok this, but I think you mean, message bus clients can send 'any old shit' and the broker will happily queue it?
A lot of the more 'managed' (abstracted) clients in the statically typed world deal with this by structuring queues by the object type/interface. A bad actor could probably circumvent this if they really wanted, but for normal usage it will at least ensure that objects sent are of the expected type.
This means that in real-world usage, this isn't an issue.