Kafka and the log
A bug in billing miscalculated discounts for three days. You've fixed it, but the queue deleted every message the moment it was processed, so there's nothing to run again. A log keeps messages after they're read, which changes what you can do.
In this lesson you'll learn to
- Describe an append-only log with offsets, and how reading from it differs from taking from a queue.
- Explain topics, partitions and keys, and why ordering holds only within a partition.
- Explain consumer groups, how they share partitions, and what consumer lag measures.
- Use retention, replay and compaction, and choose between a log and a queue for a job.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.