Prompt
I'm building an event-driven microservices system, what should I use for messaging and streaming?
Latest observation
Oct 24, 2026
OpenAI APIWeb search: off
For an event-driven microservices system, the best choice usually depends on what you mean by messaging vs streaming:
Short answer
- Use a message broker for service-to-service commands, work queues, and event notifications.
- Good options: RabbitMQ, NATS, AWS SQS/SNS, Azure Service Bus
- Use a streaming platform for durable event logs, replay, analytics, and high-throughput event pipelines.
- Best-known option: Apache Kafka
- Also consider: Pulsar, Redpanda, Kinesis, Event Hubs
How to choose
1) Messaging broker
Pick this if you need:
- point-to-point delivery
- task queues
- request/reply patterns
- low-latency service communication
- simple pub/sub for application events
Typical choices
- RabbitMQ: very flexible routing, great for traditional messaging patterns
- NATS: lightweight, very fast, simple ops
- SQS/SNS: managed cloud-native choice if you’re on AWS
- Service Bus: strong enterprise option on Azure
2) Streaming platform
Pick this if you need:
- persistent event history
- replaying events
- multiple independent consumers
- event sourcing
- stream processing / analytics
- very high throughput
Typical choices
- Kafka: the default standard for event streaming
- Pulsar: good if you want multi-tenant architecture and geo-replication
- Redpanda: Kafka-compatible, simpler ops
- Kinesis: managed option on AWS
Practical recommendation
For most microservices systems:
- If your system is mostly commands/tasks/events between services:
RabbitMQ or NATS - If your system needs durable event logs, replay, and analytics:
Kafka - If you want a managed cloud service:
- AWS: SQS/SNS for messaging, Kinesis for streaming
- Azure: Service Bus / Event Hubs
- GCP: Pub/Sub
Common architecture
A lot of teams use both:
- Messaging broker for operational communication
- Kafka/streaming platform for business events and downstream consumers
Rule of thumb
- Need guaranteed task handling? → messaging broker
- Need event replay and long-lived streams? → streaming platform
- Unsure? Start with RabbitMQ/NATS for simpler systems, Kafka if streaming is a core requirement
If you want, I can recommend a specific stack based on your cloud provider, expected throughput, and whether you need event sourcing or exactly-once semantics.