Stream processing
We discussed event-driven architecture in the first chapter. Stream processing is a specific flavor of event-driven architecture. In general, there are three styles of event processing, as outlined here:
- Simple event processing (SEP)—A simple event is an occurrence of something significant that can trigger an action. These events are independent and are ideal for coordinating the real-time flow of work. Consider the case where an event is triggered when a file is uploaded to an object store and that event triggers adding some customer headers to an object. This event requires immediate action and is independent of any event that occurred before or after that.
- Complex event processing (CEP)—In complex event processing, multiple events have to occur before an action can be taken. Filtering, selecting, and aggregating multiple events might be required before correlating and concluding that an event of business interest has occurred. The events...