Home / Companies / Confluent / Blog / Post Details
Content Deep Dive

How to Create a docker-compose.yml File With Kafka Docker Composer

Blog post from Confluent

Post Details
Company
Date Published
Author
Sven Erik Knop
Word Count
3,794
Company Posts That Month
12
Language
English
Hacker News Points
-
Post removed?
No
Summary

Confluent’s kafka-docker-composer is a Python and Jinja2-based tool that generates Docker Compose configurations for local Confluent Platform and Apache Kafka testing, reducing the manual errors involved in assigning unique hostnames, ports, listeners, dependencies, and environment variables across multi-node clusters. It supports ZooKeeper- and KRaft-based deployments, configurable numbers of brokers, controllers, Schema Registry, Kafka Connect, ksqlDB, Control Center, Prometheus, Grafana, custom connector plugins, and rack-aware layouts for resilience testing. The tool is intended for scenarios ranging from simple single-broker setups to multi-data-center failover simulations, demonstrating behaviors such as broker or rack loss, replica distribution, and ZooKeeper limitations in two-data-center configurations. It also includes experimental shared KRaft mode, configurable cluster UUIDs, optional traffic-control-enabled images for injected network latency, and exposed monitoring interfaces, while future work may add security features and support for official open-source Kafka images.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 1 2,064 236 94 +7%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.