Skip to main content

Vendored, memory-only Tansu (Kafka-compatible) broker binary for local calfkit development.

Project description

🐮 Calfkit Broker Calfkit SDK

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

Quick Start

Start up the broker (using Docker)

# Start Kafka for local development
make dev-up

# Kafka available at localhost:9092

# Stop
make dev-down

Kafka UI (optional)

# Start Kafka UI (connects to existing broker at localhost:9092)
make ui

# UI available at http://localhost:8080

# Stop
make ui-down

calfkit-mesh pip package

For 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, written in Rust) inside platform wheels, so calfkit's ck dev can spawn a broker without Docker, JVM, or any network install:

pip install calfkit-mesh

This 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:

  1. $CALF_TANSU_BIN — if set, it is used verbatim (and must point at an executable file, or resolution fails). Use this to point ck dev at your own tansu build.
  2. The wheel-bundled binary — materialized once to a stable cache path (~/.calfkit/bin/tansu-<version>) and made executable.
  3. tansu on your PATH.

Wheels are built for Linux (x86_64, aarch64; published under both manylinux and musllinux tags), macOS (arm64, x86_64), and Windows (x86_64). The bundled binary is compiled from unmodified Tansu source; see NOTICE and LICENSE-tansu for attribution.

License

Apache 2.0 - see LICENSE.

calfkit-mesh wheels bundle the Tansu broker, also Apache 2.0; see NOTICE and LICENSE-tansu.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

calfkit_mesh-0.1.1-py3-none-musllinux_1_1_x86_64.whl (12.8 MB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

calfkit_mesh-0.1.1-py3-none-musllinux_1_1_aarch64.whl (11.5 MB view details)

Uploaded Python 3musllinux: musl 1.1+ ARM64

calfkit_mesh-0.1.1-py3-none-manylinux2014_x86_64.whl (12.8 MB view details)

Uploaded Python 3

calfkit_mesh-0.1.1-py3-none-macosx_11_0_arm64.whl (10.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

calfkit_mesh-0.1.1-py3-none-macosx_10_12_x86_64.whl (12.1 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file calfkit_mesh-0.1.1-py3-none-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for calfkit_mesh-0.1.1-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 5f7cf737f659ec28dd54030e12322960642fdb51221b0d7bd52d56dce28df175
MD5 2bbacf5a98981099152fd858606f14b2
BLAKE2b-256 1e748d6e5b3b61167f37e6102b35e09376d27abfa343402c97f75bc800f6bb2d

See more details on using hashes here.

Provenance

The following attestation bundles were made for calfkit_mesh-0.1.1-py3-none-musllinux_1_1_x86_64.whl:

Publisher: release.yml on calf-ai/calfkit-mesh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file calfkit_mesh-0.1.1-py3-none-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for calfkit_mesh-0.1.1-py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 7dfabc564287e2ccea75c74439e4ddf04ca9b358f5cbe06fdfe5ad73ba70a508
MD5 87376d0a646bec507998c0a04424a0e0
BLAKE2b-256 2fe295791b6c7dfbc5d5e8200646b6fea927f3a791b3cb82cc0475b12bb227fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for calfkit_mesh-0.1.1-py3-none-musllinux_1_1_aarch64.whl:

Publisher: release.yml on calf-ai/calfkit-mesh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file calfkit_mesh-0.1.1-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for calfkit_mesh-0.1.1-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 669c10cb5d9447ae8bf8dbe377bbd05eb4997e6bc64be38e2149430c3f04708f
MD5 8f3053f96ad0cb1eaa5ffcf3ca5c1d00
BLAKE2b-256 baea807558d39e958d65c3c511aef4829d5dc5f87a394d820660350b27c692af

See more details on using hashes here.

Provenance

The following attestation bundles were made for calfkit_mesh-0.1.1-py3-none-manylinux2014_x86_64.whl:

Publisher: release.yml on calf-ai/calfkit-mesh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file calfkit_mesh-0.1.1-py3-none-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for calfkit_mesh-0.1.1-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 df7cec705012a2eeead9698bcecdf6a80db04f6c2ff241a92c4af6f482a1992b
MD5 b561aac5c719826ca5b9143cf38942ea
BLAKE2b-256 42b91801aa7134700302550504099f4000e90fff9ef64705267b9509e4752ee4

See more details on using hashes here.

Provenance

The following attestation bundles were made for calfkit_mesh-0.1.1-py3-none-manylinux2014_aarch64.whl:

Publisher: release.yml on calf-ai/calfkit-mesh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file calfkit_mesh-0.1.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for calfkit_mesh-0.1.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c553dc5ec524a796a9b49b01a244bb96698c06a183070e57d6be2cee810f7640
MD5 19d52afdd88dc5ca59dd0f1e22c598e8
BLAKE2b-256 8612b11c987875029d60a92e657d322e30df854dc557423fb9fcff11304c9787

See more details on using hashes here.

Provenance

The following attestation bundles were made for calfkit_mesh-0.1.1-py3-none-macosx_11_0_arm64.whl:

Publisher: release.yml on calf-ai/calfkit-mesh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file calfkit_mesh-0.1.1-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for calfkit_mesh-0.1.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 87e8906bc981c44732f204ad162a7013b297f9bbd9520abef3ce09dbe015ce46
MD5 6611eb7891079ae4fe4bec4adff764d9
BLAKE2b-256 00f54bc0efe6520eebea47d0f7221f3a6e80bc6727e29b1a86a6e34add68bdeb

See more details on using hashes here.

Provenance

The following attestation bundles were made for calfkit_mesh-0.1.1-py3-none-macosx_10_12_x86_64.whl:

Publisher: release.yml on calf-ai/calfkit-mesh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page