# wurstmeister/kafka-docker

Dockerfile for Apache Kafka

Repository: https://github.com/wurstmeister/kafka-docker
Canonical: https://ross.abutalabs.com/products/kafka-docker
Homepage: http://wurstmeister.github.io/kafka-docker/
Language: Shell
License: Apache-2.0
License Family: permissive
Last push: 2024-05-08T12:11:08+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4636, "days_push": 847, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6960, forks 2655 (observed 2026-08-28T04:09:51.745309+00:00)

## What it is
A Dockerfile and docker-compose setup for running Apache Kafka (with Zookeeper) in Docker, published as the wurstmeister/kafka image on Docker Hub. It supports multi-broker clusters and configuration via environment variables.

## Use cases
- run apache kafka in docker
- spin up a multi-broker kafka cluster with docker-compose
- local kafka development environment
- test kafka producers and consumers in containers
- configure kafka broker settings via environment variables

## When to choose
- you need a quick local or test Kafka cluster via docker-compose
- you want to scale multiple Kafka brokers on a single host for development
- you prefer environment-variable-driven Kafka configuration

## When to avoid
- you need a production-grade, actively maintained Kafka image (consider Bitnami, Confluent, or Apache Kafka's own KRaft images)
- you want KRaft mode without Zookeeper
- you need Kubernetes-native Kafka deployment (use Strimzi or the operator)

## Facets
- artifact type: infra-config
- maturity: maintenance
- function: container-runtime, message-queue, developer-tools
- domain: microservices
- platform: windows
- tags: kafka, dockerfile, docker-compose, zookeeper, event-streaming, messaging, devops, containers, docker, linux, macos

## Member repositories
- wurstmeister/kafka-docker (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:51.745309+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:41:11.564284+00:00, confidence not recorded.
  - readme: https://github.com/wurstmeister/kafka-docker (fetched 2026-08-28T04:09:51.745309+00:00, sha 416a07faf552)
  - homepage: http://wurstmeister.github.io/kafka-docker/ (fetched 2026-08-29T08:36:55.810256+00:00, sha 613714686aa9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
