Skip to content
Theory · Kafka: topics, partitions, offsets · lesson 3 of 7

Offsets: where each reader stands

Kafka does not delete the records it has served, so every reader remembers on its own where it stopped. That position is one number per partition. It decides what a consumer reads after a restart: it carries on from the same place, starts from the beginning of the log or skips everything old.

In this lesson

  • Log start and log end
  • A reader's bookmark
  • Several groups read one topic
  • Where to start reading
  • Common mistake
  • Key points