Local Kafka infrastructure for event-driven and distributed AI agent development using Calfkit SDK.
Provides two-tier Kafka environments using KRaft:
| Tier | Use Case | Startup | Command |
|---|---|---|---|
| Tier 1 | Daily development | ~10 seconds | make dev-up |
| Tier 2 | Integration testing | 3-5 minutes | make k8s-up |
# Start Kafka for local development
make dev-up
# Kafka available at localhost:9092
# Stop
make dev-down# Start Kafka UI (connects to existing broker at localhost:9092)
make ui
# UI available at http://localhost:8080
# Stop
make ui-downFor a zero-dependency local broker, this repo also publishes the
calfkit-mesh Python package. It bundles a static, memory-only build of the
Tansu broker (Apache Kafka-compatible)
inside platform wheels, so calfkit's ck dev can spawn a broker without
Docker, JVM, or any network install:
pip install calfkit-meshThis is the upstream of calfkit's opt-in [mesh] extra. The package exposes a
single locator, calfkit_mesh.resolve_broker_bin(), which returns the path to a
usable tansu executable using this resolution order:
$CALF_TANSU_BIN— if set, it is used verbatim (and must point at an executable file, or resolution fails). Use this to pointck devat your owntansubuild.- The wheel-bundled binary — materialized once to a stable cache path
(
~/.calfkit/bin/tansu-<version>) and made executable. tansuon yourPATH.
Wheels are built for Linux (x86_64, aarch64; published under both manylinux
and musllinux tags), macOS (arm64, x86_64), and Windows (x86_64).
Apache 2.0 - see LICENSE.
The Tansu binary bundled in calfkit-mesh wheels is also Apache 2.0; see NOTICE for attribution.