Skip to content
Legacy docs for Tenzir v5.x. For the latest Tenzir v6 series, visit docs.tenzir.com. Migrating from v5? Read the Tenzir v6 migration guide.

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: