- Direct mode is the default.
stb buildrebuilds selected models at their ordinary names and replays retained history without a publish step. - Virtual environments are an explicit opt-in.
stb backfillcreates deployment-specific tables,stb audit backfillassesses them, andstb publishswitches stable views.
What StreamBuild manages
- Strict, explicitly typed
MODEL()SQL - Managed Kafka landing through ClickHouse’s Kafka engine
- Adopted ClickHouse stream tables that StreamBuild does not own
- Materialized-view dependency graphs with driving and side-reference edges
- Inclusive, at-least-once replay across offset, timestamp, landed-at, and cursor boundaries
- SQL-native model tests, macro tests, and data-quality audits
- Offline compile artifacts for review and automation
Choose a workflow
Direct-mode quickstart
Build a small adopted-source pipeline against local ClickHouse.
Direct mode
Understand destructive rebuilds, replay, failure, and rerun behavior.
Virtual environments
Stage, assess, publish, diagnose, and clean versioned deployments.
Orders demo
Run the checked-in Kafka and virtual-environment example.
Core loop
--project-dir explicitly.
stb build already runs applicable audits. Use the separate stb audit command when you want to
rerun live checks later without rebuilding.
