Building a Mini Kafka in Go — My Journey Creating go-pub-sub
dev.to·3h·
Discuss: DEV
Flag this post

🌀 Building a Mini Kafka in Go — My Journey Creating go-pub-sub

A hands-on dive into distributed messaging, gRPC streams, and pluggable storage — all in Go.


👋 Intro

Over the past few weeks, I’ve been exploring how systems like Kafka and Pulsar handle messaging, partitioning, and consumer groups. Instead of just reading papers, I wanted to build one myself — from scratch — to truly understand how Pub/Sub systems work under the hood.

That’s how go-pub-sub was born — a lightweight, gRPC-based Publish–Subscribe broker written entirely in Go.

It started as a learning project but grew into a deployable, extensible system that can run locally or in containers.


⚙️ What is go-pub-sub?

go-pub-sub is a mini distributed broker that lets you:…

Similar Posts

Loading similar posts...