Skip to main content

Module worker

Module worker 

Available on crate features dial9 and pipeline only.
Expand description

Segment-processing worker: runs a SegmentProcessor pipeline over sealed segments. The segment-processing worker.

WorkerLoop is the consumer side of the bus: it drains sealed segments and runs each through a SegmentProcessor pipeline (compress, symbolize, upload, write-back). It is the generic executor of the pipeline trait; the processors themselves are supplied by the caller.

Behind the pipeline feature: the worker builds a tokio runtime to drive the async processors. Core’s default build stays runtime-agnostic without it.

Modules§

processors
Built-in segment processors (gzip, write-back). Built-in segment processors: gzip compression and disk write-back.

Structs§

BackgroundTaskConfig
Configuration for the in-process worker pipeline.
BackgroundTaskConfigBuilder
Use builder syntax to set the inputs and finish with build().

Constants§

DEFAULT_POLL_INTERVAL