Overview
Appendix A. Definitions
This appendix serves as a glossary for the book’s core event-processing vocabulary, defining the terms used throughout the text in a concise, formal way. It covers the basic building blocks of event-driven systems, including what counts as an event, an event type, an event stream, and an event processing network, along with the roles of producers, consumers, agents, channels, and derived events. It also clarifies key event attributes such as occurrence time, detection time, identity, source, certainty, annotation, and composition.
A large part of the glossary focuses on contexts and patterns, since these are central to event correlation and interpretation. Contexts are described as ways of grouping events into partitions based on time, location, entity distance, segmentation, or external state, including composite contexts built from multiple member contexts. Patterns are defined in terms of participant events, matching sets, relevant event types, parameters, policies, and evaluation rules, with many specific pattern forms such as sequence, absence, count, first or last n, threshold-based, distance-based, value-based, and movement-related patterns. The glossary also explains how policy choices like evaluation, cardinality, consumption, order, repeated types, and initiator behavior affect pattern matching semantics.
The remaining definitions cover transformations, filtering, routing, and quality-related concepts that support practical event processing design. Transformation EPAs such as Translate, Project, Split, Compose, Aggregate, and Enrich are distinguished by how they filter, derive, combine, or expand events, while filter expressions and routing schemes determine how events are selected and directed through the system. The appendix also includes broader system qualities like scalability, availability, and recoverability, plus terms for interaction styles, situation detection errors, and temporal data types, giving readers a shared terminology for discussing both the mechanics and reliability of event-processing systems.
FAQ
What is an event in Event Processing in Action?
An event is an occurrence within a particular system or domain; it is something that has happened, or is contemplated as having happened in that domain.
What is an event type?
An event type is a specification for a set of event objects that have the same semantic intent and the same structure; every event object is considered an instance of an event type.
What is the difference between a raw event and a derived event?
A raw event is introduced into an event processing system by an event producer. A derived event is generated as a result of event processing inside the event processing system.
What is a context in event processing?
A context is a named specification of conditions that groups event instances so they can be processed in a related way. It assigns each event instance to one or more context partitions.
What is a Pattern detect EPA?
A Pattern detect EPA is an event processing agent that performs pattern matching on one or more input streams. If it detects the specified pattern in the input events, it emits one or more derived events.
What is a threshold assertion?
A threshold assertion uses two pattern parameters: a threshold relation and a threshold value. An aggregation function is applied, the result is compared to the threshold value, and the pattern matches if the comparison is true.
What is the sequence pattern?
The sequence pattern is satisfied if the participant event set contains at least one instance of each event type in the relevant event types list, and the order of those event instances matches the order of their types in the list.
What is the difference between a stateful and a stateless event processing agent?
A stateful event processing agent is influenced by more than one input event when processing events. A stateless event processing agent processes each event independently, so one event does not influence how later events are processed.
What is a temporal context?
A temporal context consists of one or more time intervals, possibly overlapping. Each time interval corresponds to a context partition containing events that happen during that interval.
What is an event stream?
An event stream is a set of associated events, often totally ordered by timestamp. It may be homogeneous, meaning all events are of the same type, or heterogeneous, meaning events may be of different types.