Messaging & Event Streaming
Decouple services with queues and event logs, choosing delivery semantics, ordering and consumer scaling that match the workload.
4 objectives 6 steps about 130 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Compare work queues, pub/sub topics and partitioned logs (RabbitMQ-style versus Kafka-style streams) by ordering, retention, replay and fan-out, and choose one for a workload.
- Choose delivery semantics (at-most-once, at-least-once, effectively-once) and make consumers idempotent.
- Design topics, partitions and message keys so related messages stay ordered, and scale consumers with consumer groups and explicit offset commits.
- Level load and handle backpressure, consumer lag, retries, dead-letter queues and oversized payloads (claim check), and size a broker from message rate and retention.
Lesson plan
6 steps, about 130 min · 5 of 5 lessons available so far
- Queues, topics and logs Concept · 20 min
- Delivery guarantees and idempotent consumers Concept · 20 min
- Partitions, keys, consumer groups and offsets Concept · 20 min
- Producing and consuming with retries and a dead-letter queue Lab · 30 min
- Load leveling, backpressure, claim checks and broker sizing Worked example · 25 min
- Messaging check Knowledge check · 8 questions
Practise it
Run a broker locally (Kafka or RabbitMQ), build a producer and a consumer group that processes order events idempotently, kill a consumer mid-batch and show no event is lost or applied twice, and report consumer lag during a burst.
Build it from scratch
Practice builds that exercise this skill by re-creating a real technology.
- Build your own Message BrokerAdvanced · 15–30 h
- Build your own CI SystemIntermediate · 8–16 h
References
Hard prerequisites
None.
Unlocks
On these roadmaps
Progress and evidence for this skill are shared across all of them.