6 ms·
Domains listening to many other domains in Event-Driven Architecture
- lutzh 2y ago[flagged]
- deleted 2y ago[deleted]
- deleted 2y ago[deleted]
- withinboredom 2y agoInteresting way of looking at it. The way I’ve usually seen it is by modeling events more like “classes” where an event has a “type” and can inherit other “types” or “interfaces”. So if you want a notification to go out with a domain event, it must implement the “notify” interface. Commands don’t belong on an event bus though, IMHO. Commands are method calls (or RPC) not messages.