All Guides05-messaging-async-workflows
Messaging & Async Workflows
Kafka fundamentals, event processing, retries, and reliability patterns for backend workflows.
backend-engineerkafkamessagingasyncreliability
Messaging & Async Workflows
Use event streaming and asynchronous processing to decouple services and handle unreliable workflows.
Key concepts
- Kafka producers, consumers, partitions, and offsets.
- Consumer groups and rebalancing.
- Retry strategies and dead-letter queues.
- Idempotent consumers and at-least-once delivery.
Engineering focus
Build event-driven flows that tolerate failure, avoid duplicate processing, and preserve ordering where required.
Interview Questions
- What is the role of partitions in Kafka?
- How does a Kafka consumer group work?
- When should you use a dead-letter queue?
- Why is idempotency important in event processing?