kafka
TLDR
Start Kafka server
SYNOPSIS
kafka-server-start.sh config
DESCRIPTION
Apache Kafka is a distributed event streaming platform. It provides high-throughput, low-latency message handling for real-time data pipelines and streaming applications.
Kafka organizes messages into topics, with partitions for parallelism and replication for fault tolerance. Producers send messages; consumers read them.
KEY CONCEPTS
- Topic: Category for messages
- Partition: Ordered, immutable sequence
- Producer: Sends messages to topics
- Consumer: Reads messages from topics
- Broker: Kafka server node
- Consumer Group: Coordinated consumers
CONFIGURATION
broker.id=0
listeners=PLAINTEXT://:9092
log.dirs=/var/kafka-logs
zookeeper.connect=localhost:2181
CAVEATS
Requires Zookeeper (or KRaft in newer versions). Memory and disk intensive. Topic configuration affects retention. Rebalancing can cause delays.
HISTORY
Kafka was developed at LinkedIn and open-sourced in 2011. Named after author Franz Kafka, it became an Apache project and is now fundamental infrastructure for event-driven architectures.
SEE ALSO
zookeeper(1), kafka-topics(1), kafkacat(1)


