KIP-79 — ListOffsetRequest/ListOffsetResponse v1 and add timestamp search methods to the new consumer
Accepted Kafka 1.0 ConsumerProtocol
KIP-79 introduces `ListOffsetRequest` v1, which returns a single offset (not an array) for each requested partition and supports accurate timestamp-based offset lookup using the per-message timestamps introduced by KIP-33. It also adds `Consumer.offsetsForTimes()` and `Consumer.endOffsets()` to the high-level consumer API so applications can rewind consumption to a specific point in time without using the low-level `SimpleConsumer`.
Details
| Author | Jiangjie Qin |
| Status | Accepted |
| Kafka Version | 1.0 |
| JIRA | KAFKA-4148 |
| Wiki | View on Apache Wiki |
| Created | 2016-08-30 |
| Last Modified | 2016-09-29 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.