Implementation variants of EDA patterns
The various styles in which EDA patterns are implemented are the following:
- Simple event processing patterns
- Event stream processing patterns
- Complex event processing patterns
Simple event processing patterns
These patterns are used to measure events that are related to specific measurable changes in conditions. These patterns are used in scenarios that demand real-time flow of work to be triggered without any other constraints or considerations. Parameters such as lag time and costs related to business are not taken into consideration while using simple event processing patterns in architecture. Some scenarios for usage of this type of pattern could be a detection of temperature/pressure changes by a sensor. Let us explain simple event processing with the help of the order management system example we used at the beginning of the chapter. The diagram is repeated here for quick reference:
In this example, after the order enters the order management system...