Event-driven architecture with Azure
An event represents a change in the state of or an update to a system or a unit of data that is typically triggered by a user action. Events contain the state of an item or identifiers to look up the information that leads to the state change or update. Event-Driven Architecture (EDA) helps with decoupling different but related business processes, thus facilitating the scaling of each process independently. The central theme of this architecture is an event router that receives events from microservices (event producers) and delivers them to event processing microservices (consumers). The idea is shown in the following figure:
Figure 11.4 – Event-driven architecture
To understand this better, let us consider a simplified e-commerce transaction where you purchase an item from an e-commerce application. The moment you make payment, the purchased item is reserved for you, and your order is confirmed. This order...