Reputation: 11
I want to subscribe to two events and publish a new one only when both of the previous ones happen. How to implement it properly? Which message broker is suitable for this case?
I'm currently researching the event aggregation pattern but can't figure out how to apply it to a microservice architecture. How should I store events until there is a match for them? In memory or in a database?
Upvotes: 1
Views: 54
Reputation: 4055
There are 2 aspects I would consider for this particular situation:
Upvotes: 0