{"repo":"khiemdoan/kafka-kraft-cluster-docker-compose","free":true,"listed":false,"github":"https://github.com/khiemdoan/kafka-kraft-cluster-docker-compose","clone":"git clone https://github.com/khiemdoan/kafka-kraft-cluster-docker-compose.git","description":"Kafka KRaft Cluster with Docker Compose","language":"Shell","stars":11,"topics":["cluster","compose","container","docker","kafka","kraft"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Kafka KRaft Cluster with Docker Compose This repository offers a straightforward setup for an Apache Kafka cluster using KRaft mode (ZooKeeper-less architecture) via Docker Compose. It’s designed for local development, testing, and experimentation, providing a minimal configuration for quickly getting started with KRaft mode. Key Features - KRaft Mode: Leverages Kafka's Raft-based consensus mechanism, eliminating the need for ZooKeeper. - Multi-Broker Setup: Easily set up multiple Kafka brokers to simulate a real-world cluster. - Docker Compose: Quickly deploy and manage the Kafka cluster through Docker Compose. - Pre-Configured Services: Kafka brokers are pre-configured for immediate use, including basic topic, storage, and networking setups. Getting Started 1. Clone this repository. 1. Run sh mkdirs.sh to create necessary data directories. 1. Start the cluster with docker compose up -d . 1. Use standard Kafka CLI tools or client libraries to interact with the cluster. 1. This setup is ideal for developers who want to explore KRaft mode and Kafka without dealing with ZooKeeper. Components - Kafka Nodes: - 3 nodes acting as controllers - 4 nodes acting as brokers - Apicurio Registry: For schema and metadata management - Postgres: Used by Apicurio - Kafbat UI: A web-based interface for managing Kafka","default_branch":null,"files":null,"tree":[],"storefront":"/r/khiemdoan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/khiemdoan/kafka-kraft-cluster-docker-compose/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}