O'Reilly logo
  • Abhishek Singh thinks this is interesting:

Each message in a given partition has a unique offset. By storing the offset of the last consumed message for each partition, either in Zookeeper or in Kafka itself, a consumer can stop and restart without losing its place.

From

Cover of Kafka: The Definitive Guide

Note

How can we check what value is stored in the kafka or zookeper for the offset ?