Getting Started
An event-driven architecture consists of several components:
- Producer: for producing events.
- Message Broker: a component between producer and consumer. It is used to receive and distribute events to different consumers. The advantage of using a broker is that components are decoupled, and events can be processed asynchronously.
- Consumer: for receiving and processing events.
There are some design patterns for event-driven architecture: