Event Specification Block
Document event-driven architecture events with producers, consumers, payload schemas, trigger conditions, and frequency. Define clear contracts for asynchronous communication.
The Event Specification block documents events in event-driven architectures. It captures the event name, version, producers, consumers, payload schema, trigger conditions, and expected frequency.
When to Use
Block Properties
Frequency Values
Example: Order Created Event
A domain event fired when a new order is placed.
Example: User Registration Event
An event for new user sign-ups.
Example: Inventory Low Stock Alert
A monitoring event for inventory levels.
Example: Batch Processing Complete
A batch job completion event.