Prompt
I'm building microservices that need pub/sub and replay, recommend a platform
Latest observation
Oct 24, 2026
OpenAI APIWeb search: off
If you need pub/sub plus replay for microservices, the best default recommendation is usually:
Recommended platform: Apache Kafka
Why Kafka fits well:
- Pub/sub at scale: multiple consumers can read the same events independently
- Replayable streams: consumers can re-read old events from offsets
- Durable storage: events are retained for a time window or by size
- Good ecosystem: connectors, stream processing, schema registry, and strong tooling
- Microservice-friendly: supports event-driven architectures and event sourcing patterns
When to choose something else
Choose Pulsar if you want:
- Built-in separation of compute and storage
- Strong multi-tenancy
- Easier geo-replication in some setups
- Topic-level replay with flexible retention and tiered storage
Choose NATS JetStream if you want:
- Simpler ops
- Lower latency
- Lightweight messaging with persistence/replay
- A smaller operational footprint than Kafka
Choose RabbitMQ if you want:
- Traditional message queues
- Routing flexibility
- You don’t need long retention/replay as a core feature
My practical recommendation
- Kafka: best general-purpose choice for replayable pub/sub in microservices
- Pulsar: if you expect very large scale or multi-tenant needs
- NATS JetStream: if you want simplicity and low latency over maximal ecosystem depth
Quick decision rule
- Need event replay as a core feature and broad tooling? → Kafka
- Need multi-tenancy + flexible storage? → Pulsar
- Need simple, fast, lightweight? → NATS JetStream
If you tell me your expected throughput, cloud/provider, and whether you need exactly-once processing or multi-region replication, I can narrow it down to a specific platform and architecture.