Day 2 of 14 30 minTopicsPartitionsOffsets
Look inside Kafka. Learn how topics are split into partitions, how every event gets an offset, what a record contains, how partitions are spread across brokers, and why ordering is only guaranteed within one partition.
By the end of today you can
- Explain topics, partitions, offsets and brokers
- Describe what a Kafka record contains
- Explain why topics are split into partitions
- Explain why ordering is guaranteed only within a partition
- Create a topic on a real Kafka server with the command-line tools (optional)
What's inside
- 6 sections
- 3 diagrams and mind maps
- 4 code examples you can run
- 5-question quiz
- 1Topics, partitions and offsets
- 2What's in a record?
- 3Why partitions?
- 4Brokers: the servers
- 5Ordering: within a partition only
- 6Try it with real Kafka (optional)
Sign in free to read this lesson
Get the full lesson with diagrams, runnable code and the quiz. Your progress is saved across devices.
Sign in free