Message Queues
19 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- 1.1 Message Queue Introductionhistorical
What MQ is, queue and publish-subscribe distribution models, push and pull, the benefits and drawbacks of MQ, implementation ideas, and common MQ systems.
- 1.2 Message Ordering in Message Queueshistorical
English translation of the original VNote “Message Ordering in Message Queues”, preserving its current structure.
- 2.1 Kafka Installationhistorical
Kafka version naming, a three-broker ZooKeeper-based cluster setup, directory structure, and configuration examples.
- 2.2 Kafka Introductionhistorical
What Kafka is, its use cases, installation, usage, architecture, optimization, cloud Kafka, and references.
- 2.3 Kafka Usagehistorical
Kafka command-line usage and Java producer and consumer examples from the original VNote.
- 2.4 Kafka Architecturehistorical
Kafka topology, producers, brokers, consumers, replication, failure handling, and partitioning.
- 2.5 Kafka Producerhistorical
Kafka producer send flow, interceptors, serializers, partitioners, idempotence, transactions, and message-loss handling.
- 2.6 Kafka Brokerhistorical
Kafka Broker and Controller notes, consistency through HW, and broker-side settings related to message reliability.
- 2.7 Kafka Consumerhistorical
Kafka consumers, consumer groups, message-consumption flow, partition assignment and rebalancing, and duplicate/missed consumption.
- 2.8 Kafka Message Disk Storagehistorical
Kafka log directory structure, sparse indexes, log cleanup, and notes on why Kafka is fast.