aetelier_connect::workers::gap_detector¶
Per-topic ingestion gap detection. Per-topic ingestion gap detection.
GapDetector tracks the wall-clock time between consecutive events
on a single topic. When the silence exceeds a configurable threshold,
the detector records it as an ingestion gap metric — not as
corrupted data.
This distinction is critical: during exchange maintenance windows, network blips, or naturally quiet markets, there is simply no data to ingest. Downstream consumers must be aware of gaps but should not treat them as data-integrity failures.
Metric name¶
ingestion_gap_duration_ms — emitted as a tracing::warn! span
whenever a gap exceeding the threshold is detected.
Skeleton API reference
This page lists the public items in aetelier_connect::workers::gap_detector with a
one-line summary each. Signatures and source live in the SDK
repository.
Structs¶
| Item | Summary |
|---|---|
GapDetector |
Per-topic ingestion gap tracker. |
GapDetectorSet |
Collection of GapDetectors keyed by topic name. |
GapStats |
Summary stats for one gap detector. |
Constants¶
| Item | Summary |
|---|---|
DEFAULT_SILENCE_THRESHOLD |
Default silence threshold: 5 seconds without events = gap. |