selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Apache Kafka logo

Self-host Apache Kafka

4.4.0

Event streaming platform for high-throughput data pipelines

ReleaseOpen SourceApache-2.0
Updated2 weeks ago
LanguageJava
Setup difficultyAdvanced
Stars
34 194
Port
9092 (Kafka broker listener)
Requires
Java
Docker
apache/kafka
Install with Docker

What is Apache Kafka?

A distributed event streaming platform built for high-throughput, fault-tolerant data pipelines and real-time streaming applications. It runs as a cluster of brokers that store streams of events in topics, providing durability, ordering guarantees, and exactly-once semantics. Key capabilities include horizontal scaling to thousands of brokers, permanent storage with replication, built-in stream processing via Kafka Streams, and a Connect framework with hundreds of connectors for integrating external systems like databases, Elasticsearch, and cloud storage. Kafka is self-hosted via Docker images (apache/kafka for JVM, apache/kafka-native for GraalVM), downloadable tarballs, or source builds. It requires Java 17+ and uses port 9092 by default. The project is mature (version 4.3.1), licensed under Apache-2.0, and maintained by the Apache Software Foundation.

Apache Kafka alternatives

Should you self-host Apache Kafka?

Apache Kafka scores 82/100 on selfhost.directory (how scoring works) and ranks #1 of 12 in Message Broker. It has 34 194 GitHub stars, +289 in the last 30 days.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Java.

Its closest alternative on selfhost.directory is NATS (80/100, 21 010 stars). Apache Kafka scores higher overall. See Apache Kafka vs NATS side by side.

Features

  • Built-in Stream Processing
  • High Availability
  • High throughput messaging
  • Horizontal Scalability
  • Kafka Connect
  • Mission-critical guarantees
  • Multi-language client libraries
  • Permanent Storage

Apache Kafka README

Kafka Logo

CI Flaky Test Report

How to install Apache Kafka

Install Apache Kafka with Docker

docker pull apache/kafka:4.3.1 docker run -p 9092:9092 apache/kafka:4.3.1

JVM-based image; also available as apache/kafka-native for GraalVM native image

More in Message Broker

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…