Message Queues
19 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- 1.1 Message Queues and Event Logshistorical
Why asynchronous messaging exists, queue vs. pub-sub/log models, delivery semantics, backpressure, idempotency, ordering, and the trade-offs introduced by a broker.
- 1.2 Message Orderinghistorical
How to preserve per-entity message order through partitioning, producer sequencing, consumer concurrency control, and idempotent version checks.
- Kafka Installation and Local Setuphistorical
A version-neutral Kafka local setup guide that distinguishes modern KRaft deployments from historical ZooKeeper-based instructions.
- 2.2 Kafka Introductionhistorical
Kafka as a distributed durable event log for messaging, storage, replay, and stream processing.
- Kafka Usage Guidehistorical
A compact Kafka workflow for topics, producers, consumers, groups, offsets, and administration without freezing the note to one old CLI syntax.
- 2.4 Kafka Architecturehistorical
Kafka producers, partition leaders/followers, brokers, consumers, KRaft metadata quorum, replication, failover, and partitioned scaling.
- 2.5 Kafka Producershistorical
Kafka producer batching, serialization, partitioning, acknowledgements, retries, idempotent production, transactions, and their exact scope.
- 2.6 Kafka Brokers and Replicationhistorical
Kafka broker responsibilities, modern controllers, ISR/min.insync.replicas, producer acknowledgements, leader election, and durability trade-offs.
- 2.7 Kafka Consumers and Consumer Groupshistorical
Kafka consumer groups, partition assignment, offsets, rebalancing, at-least-once processing, idempotency, and modern cooperative rebalancing considerations.
- 2.8 Kafka Log Storagehistorical
Kafka partition log segments, sparse indexes, retention vs. compaction, page cache, sequential I/O, batching, and zero-copy-related transport efficiency.