Module vector_core::transform
source · Modules§
Structs§
Enums§
- Transforms come in two variants. Functions, or tasks.
Traits§
- Transforms that are simple, and don’t require attention to coordination. You can run them as simple functions over events in any order.
- Broader than the simple
FunctionTransform, this trait allows transforms to write to multiple outputs. Those outputs must be known in advanced and returned viaTransformConfig::outputs. Attempting to send to any output not registered in advance is considered a bug and will cause a panic. - Transforms that tend to be more complicated runtime style components.
Functions§
event: The event that will be updatedoutput_id: Theoutput_idthat the current even is being sent to (will be used as the newparent_id)log_schema_definitions: A mapping of parentOutputIdto definitions, that will be used to lookup the new runtime definition of the event