# Kafka Offset

> The place number of an event in a partition. Readers save it like a bookmark.

**Field:** Data Engineering  
**Category:** Ingestion & Streaming  
**Also known as:** Offset, Consumer Offset, Committed Offset

## Think of it like

It is like a bookmark. It shows the last page you read, so you can pick up there next time.

## Definition

A Kafka offset is the position number of an event inside a partition. The first event is 0, the next is 1, and so on. A consumer saves, or commits, the offset it has reached. If it stops and starts again, it carries on from that saved offset. You can also reset an offset to read old events again.

## Example

A billing service crashes after reading offset 5,120. When it restarts, it carries on at 5,121, and no bill is missed.

## Why it matters

Offsets are how Kafka readers survive crashes. They also let you replay data by moving the bookmark back.

## Common mistake

Committing the offset before the work is done. If the reader then crashes, those events are skipped for good.

## Three principles

- **A place number.** Counts up inside each partition.
- **Committed by readers.** Saved so a restart resumes there.
- **Can be reset.** Move it back to replay.

## Related terms

- [Kafka Partition](https://learn.benibix.com/term/data/kafka-partition)
- [Kafka Consumer Group](https://learn.benibix.com/term/data/kafka-consumer-group)
- [Apache Kafka](https://learn.benibix.com/term/data/apache-kafka)
- [At-Least-Once Delivery](https://learn.benibix.com/term/data/at-least-once-delivery)
- [Kafka Consumer](https://learn.benibix.com/term/data/kafka-consumer)

---

Source: https://learn.benibix.com/term/data/kafka-offset
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
