dozeGitHubGet doze
Registry
Check against your doze

Which doze do you run?

doze 0.1.1newest · 2 Jul 2026doze 0.1.02 Jul 2026Stop checkingKept in this browser only. Nothing is sent anywhere.

doze Kafka

OfficialSigned

Single-node Kafka-protocol broker, no JVM.

doze/kafka
$ doze add kafka
Newest
0.1.2 · [date]
Needs
any doze
Runs
runs itself
Platforms
macOS arm64 · Linux arm64 · Linux x86_64
Licence
Apache-2.0
Source
on GitHub

Start

A few lines in doze.hcl give you doze Kafka. Nothing starts until something connects.

1 · In doze.hcl
doze.hcl
module kafka "kafka" {
  version = 4
}

It listens on port 9092. doze env prints its address for tools outside doze.hcl.

A fuller setup

Paste it over the block above and keep what you need.

The doze Kafka example, complete

The example the module ships in its own description (meta.yaml), in doze 0.2's module syntax.

doze.hcl
module kafka "events" {
  version = 4
  port    = 9092

  auto_create_topics = true
  default_partitions = 1
  retention          = "168h"

  topic "orders" {
    partitions = 3
  }
  topic "payments" {
    partitions = 1
    config = { "cleanup.policy" = "compact" }
  }
}

Quality

Each line says where it comes from, so you can check it.

  • Signed by doze-dev

    ed25519 key Nu5y8mbj…GWjw=, compiled into doze, over every file and over the whole index. How signing works

    signed index
  • Three platforms

    macOS arm64, Linux x86_64, Linux arm64, each with its own sha256, in every release.

    signed index
  • Conformance-tested on Kafka protocol 1–4

    Every argument on the Reference tab converged into a running engine, once per supported version, before a release is signed.

    doze-modules CI · new
  • Every example on this page parsed by doze

    By doze 0.2 with doze lint --offline, on every change to the registry.

    registry CI · new
  • Source linked

    doze-kafka/module, Apache-2.0.

    GitHub