Kafka topics into Apache Iceberg tables, exactly once.
Live in the console within seconds. Readable by any Iceberg engine.
Install · Handbook · Console handbook · Releases
- A materialization reads Kafka topics, each into an Iceberg table, every record exactly once
- Schemas read from the data, and evolved as it changes
- Google Cloud Storage, Amazon S3 and S3-compatible stores, Azure Blob Storage
- Partitioned by hour, day or month; small files merged and old versions pruned on their own
- New records reach the console within seconds, before they commit, each exactly once
- The waterline: rows above it are live; rows below it are committed, and any Iceberg engine reads them
- SQL in the browser over any table, joined across datasets and domains
- Exact counts, rows as they arrive, export to CSV, JSON or Parquet
- An Iceberg REST catalog for DuckDB, PyIceberg and other Iceberg engines
- Emails, phone numbers, card numbers, national IDs and secrets, recognised by field name
- Masked before anything is written: hashed, partial or withheld
- A policy per materialization; change it, and rows already written are masked too
- Single sign-on: Microsoft Entra ID, GitHub, Google, or any OpenID Connect provider
- Roles and groups, with permissions granted per dataset
- Share a dataset the way you share a document
- Invitations by email, access tokens for engines and scripts, an audit log
- A domain per team or cluster, each with its own accounts, data and settings
- One console over all of them: one sign-in, search, SQL and one Iceberg catalog across domains
- One Helm chart: a domain, the console, or both
- More workers while a backlog lasts; CPU requests that follow use
- Built on Kaspr
You need Kubernetes 1.29 or later, kaspr-operator 0.19.7 or later, a Kafka cluster and an object store. docs/install.md takes an empty namespace to a first table: the Secrets, your store, the values, then
helm install midstream oci://ghcr.io/vmirz/charts/midstream --version <version> \
-n midstream -f midstream-values.yamlEach release publishes the chart, the Python package (midstream-platform on PyPI) and the console
image (ghcr.io/vmirz/midstream-console).
- Install: an empty namespace to a first table, on each object store
- Handbook: 22 documents on architecture, the API, operations, identity, the live tail and data protection
- Console handbook: 17 documents on every screen, its configuration and the design language
- Contributing: how changes are made; AGENTS.md holds the conventions
- Security: reporting a vulnerability
# Python: the package in place, then the tests
python3.12 -m venv .venv && .venv/bin/pip install -r requirements-dev.txt
.venv/bin/python -m unittest discover -s python/tests -p 'test_*.py'
# Chart: lint and render
helm lint charts/midstream -f charts/midstream/ci/test-values.yaml
helm template midstream charts/midstream -n midstream -f charts/midstream/ci/test-values.yaml
# Console: against a control plane (with no registry it serves one domain, local, at :6065)
kubectl -n midstream port-forward svc/midstream-control-plane-app-api 6065:6065
cd console && npm install && npm run dev