Skip to main content

Module intake

Module intake 

Source
Expand description

Deep lifecycle event intake module (gh#217).

Encapsulates:

  • Tolerant per-item JSON decoding with metrics/counters for schema drift.
  • Bounded SeenIds ring-buffer deduplication across reconnects and poll iterations.
  • Coordinated cursor progression and seen-id commitment after successful batch processing (integrating with StateStore).
  • A clean seam accepting incoming event batches from both HTTP polling and WebSocket streaming transports.

Structs§

EventIntake
Unified event intake orchestrator.
IngestBatchOutcome
Outcome of ingesting a batch of events.
IntakeMetrics
Metrics and counters for schema drift and event intake.

Enums§

StreamItemOutcome
Outcome of ingesting a single stream payload.

Constants§

DISABLE_ENV
Env var that disables cursor persistence globally (read + write). Useful for CI or transient debug runs that share a config dir with a real loop.
DISABLE_SENTINEL
Sentinel passed via --cursor - to bypass the file completely.