Documentation Index
Fetch the complete documentation index at: https://docs.kaireonai.com/llms.txt
Use this file to discover all available pages before exploring further.
What’s gated by FLOW_STREAMING_ENABLED
| Capability | When env unset (playground default) | When env = "true" (self-hosted) |
|---|---|---|
cdc_mirror target load mode | Throws “streaming runtime disabled” | Falls through to broker-config error (kaireon-worker is the future home) |
kafka_consumer IR source kind | Throws same gated message at executor dispatch | Self-hoster wires kafkajs and supplies brokerList in connector config |
kinesis_consumer IR source kind | Same | Self-hoster wires @aws-sdk/client-kinesis consumer + stream ARN |
pulsar_consumer IR source kind | Same | Self-hoster wires pulsar-client + service URL |
Checkpoint persistence (lands the moment any broker connects)
The Phase 6.4 scaffold ships the helper atlib/flow/runtime/streaming/checkpoint.ts:
pipeline_runs.metadata.streamingCheckpoints[]. At-least-once
delivery semantics — write checkpoint before the next batch’s side
effects. Any consumer (Kafka / Kinesis / Pulsar) plugs into this same
helper so the persistence layer is broker-agnostic.
Self-hoster setup
When you’re ready to enable streaming on a self-hosted deployment:- Set
FLOW_STREAMING_ENABLED=truein the API + worker env. - Wire your broker connector — install
kafkajs(or@aws-sdk/client-kinesis/pulsar-client) and implement the broker-specific consumer inkaireon-worker. - Restart the worker process — the existing
kaireon-workerECR repo is unwired in playground (no App Runner service); self-hosters point their orchestrator at it. - Each consumer run reads
streamingCheckpointson startup, seeks the broker to the saved offset, processes, andwriteCheckpoints after each successful batch.
Honest limits carried into Phase 6.6 hardening
- Per-partition lag metrics on the per-node metrics dashboard
- Backpressure semantics beyond at-least-once
- UI hide for streaming node kinds when
FLOW_STREAMING_ENABLED=false— the Visual canvas + Schedule tab don’t yet hide them with a “self-host required” CTA
Spec reference
specs/2026-04-24-flow-design.md §6 Runtime Engine, streaming
subsection. Phase 6.4 SPEC at
.planning/phases/06.4-streaming-runtime-cdc-mirror/06.4-SPEC.md.