Skip to main content
PProfileMatch
← Path

Apache Kafka · Apache Kafka Topics, Partitions and Offsets: How the Log Works

0 XP
  1. 1 current stop: learning
  2. 2 upcoming
  3. 3 upcoming
  4. 4 upcoming
  5. 5 upcoming

Finish after stop 5

Stop 1 of 5 · Bike shop: reading the shelf labels

Trick to keep in mind+3 XP

An offset is a house number; the partition is the street. Number 7 exists on every street.

Each partition counts its own records starting from 0, independently of its neighbours. So a number on its own points to nothing in particular: you need the street (partition) and the topic as well. Two records that share an offset but live in different partitions have no relationship at all.

Read it once, then a question tests whether the trick stuck.