Kafka
Message Queues · 12 notes
- 2.1 Kafka Installationhistorical
Kafka package names include Scala and Kafka versions. These notes start with extraction and PATH configuration and record installation and startup.
- 2.2 Kafka Introductionhistorical
Kafka is a distributed messaging system with uses in persistent messaging and stream processing. These notes link installation, usage, architecture, and related topics.
- 2.3 Kafka Usagehistorical
These notes begin with Topic creation and record Kafka command-line usage, using partition and replica counts to examine storage and deployment.
- 2.4 Kafka Architecturehistorical
Kafka Architecture: A Producer sends messages to a specific Topic. Messages in the Topic are stored on Brokers, and a Consumer consumes messages by subscribing to a specific Topic.
- 2.5 Kafka Producerhistorical
Kafka producers send messages to brokers. These notes trace sending through the main thread, Sender, and RecordAccumulator.
- 2.6 Kafka Brokerhistorical
A Kafka broker is a server node responsible for storing messages. Brokers form a cluster, and these notes continue with roles such as the controller.
- 2.7 Kafka Consumerhistorical
Kafka consumers pull messages from brokers. These notes examine message assignment and progress management through consumer groups.
- 2.8 Kafka Message Disk Storagehistorical
Each Kafka partition has a directory with messages organized into segments and accompanying log, offset-index, and time-index files.
- 2.9 Kafka Topichistorical
Topics are logical message categories in Kafka. These notes connect them with partitions, internal topics, and data organization.
- 2.10 Kafka Optimizationhistorical
Kafka tuning involves batching, throughput, and bandwidth. These notes record batch, fan-in/fan-out, compression, and related references.
- 2.11 Kafka Benchmarkinghistorical
Kafka load testing involves estimating the QPS supported by a partition and machine. These notes connect publication flows with performance testing.
- 2.12 Cloud Kafkahistorical
Cloud Kafka adds access endpoints and health checks around Kafka. These notes record relationships among VIP addressing, nearby routing, and failover.