Single-node · In-memory · gRPC

Heads up: I ended up switching to NATS + PostgreSQL. If you need consumer groups, bare NATS won't help — you need JetStream, which requires persistence. tinybroker fills the gap when you want in-memory consumer groups with no persistence overhead. The code works and is free to use; just know why you're reaching for it.

tinybroker is not a replacement for production message brokers — it is a deliberately smaller tool for a narrower problem. The comparisons below explain when each alternative is the better choice and when tinybroker is the right fit.

Feature matrix

tinybrokerNATS (core)KafkaRabbitMQPulsarRedis Pub/SubPostgreSQL
In-memory only
PersistentJetStreamStreams
Wildcard patterns
Consumer groupsJetStreamStreams
gRPC API
Zero config
Container image<10 MB~30 MB>500 MB~200 MB>1 GB~30 MB~400 MB
Dynamic topics