Tagged articles
1 articles
Page 1 of 1
JavaEdge
JavaEdge
Dec 1, 2020 · Backend Development

How Kafka’s OffsetIndex and TimeIndex Optimize Message Retrieval

This article explains Kafka’s internal index files—OffsetIndex and TimeIndex—including their file formats, how they store relative offsets and timestamps, the space‑saving optimizations, the processes for appending, truncating, and looking up entries, and best‑practice cautions for handling these indexes.

Backend DevelopmentKafkaOffsetIndex
0 likes · 8 min read
How Kafka’s OffsetIndex and TimeIndex Optimize Message Retrieval