Skip to main content

Module engine

Module engine 

Source
Expand description

Flush outbox batches: size limits, split on 413, backoff on 429 / transient errors. Optional FlushExporters runs HTTP fan-out in parallel with the primary Kaizen POST; only a successful (or 409) primary result commits outbox. Secondary Err is observed only in that same step (and blocks commit when fail_open is false).

Structs§

FlushExporters
Context for optional pluggable sinks (see crate::telemetry). Only holds references; copy freely.
FlushStats

Functions§

flush_outbox_once
Flush pending outbox rows (all that fit batch constraints per iteration).