Skip to content

fork

Executes a subpipeline with a copy of the input.

fork { … }

The fork operator executes a subpipeline with a copy of its input, that is: whenever an event arrives, it is sent both to the given pipeline and forwarded at the same time to the next operator.

The pipeline to execute. Must have a sink.

Publish incoming events while importing them simultaneously

Section titled “Publish incoming events while importing them simultaneously”
fork {
publish "imported-events"
}
import

Last updated: