Event generation
The event framework generates flow events for Data Collector standalone flows when the flow starts and stops.
In a Data Collector standalone flow, you can pass flow events to an executor or to another flow for additional processing. By default, these events are discarded. For more information about flow events, see Flow event generation.
For general information about the event framework, see Dataflow triggers overview.
Flow event records
Flow event records have the following event-related record header attributes. Record header attributes are stored as String values:
| Record Header Attribute | Description |
|---|---|
| sdc.event.type | Event type. Uses one of the following types:
|
| sdc.event.version | Integer that indicates the version of the event record type. |
| sdc.event.creation_timestamp | Epoch timestamp when the stage created the event. |
The event framework generates the following types of flow events:
- pipeline-start
- The event framework generates start events as the flow initializes, immediately after it starts and before individual stages are initialized.
- pipeline-stop
- The event framework generates stop events as the flow stops, either manually, programmatically, or due to a failure. The stop event is generated after all stages have completed processing and cleaning up temporary resources, such as removing temporary files.