mq: небольшая очередь сообщений в стиле Kafka на Go, созданная с нуля
DEV · 18.11.2026 · 22:55
mq — это небольшая очередь сообщений в стиле Kafka, разработанная на Go с использованием только стандартной библиотеки. Она включает темы, разделенные на партиции, и журнал добавления…
Оригинал
mq: a small Kafka-style message queue in Go, built from scratch
Kafka has a reputation for being complicated, and its vocabulary does not help: topics, partitions, offsets, segments, consumer groups, rebalances, generations. I used these words for a long time before I could explain why each one has to exist. The quickest way I know to understand a design is to rebuild a small version of it. mq is a small Kafka-style message queue in Go, using only the standard library. It has topics split into partitions, an append-only segmented log per partition, consumer