One common challenge arises in modern enterprise solutions built on the microservices architecture: effectively handling the flow of events from various sources. Many solutions employ diverse event providers such as Azure Service Bus, Apache Kafka, or RabbitMQ. To tackle this issue, a crucial component is needed to bring together event publishers and subscribers seamlessly.
Solution
Before we go deep into the implementation, we can look at Martin Fowler’s Event Aggregator.