FundingCircle / jackdaw

A Clojure library for the Apache Kafka distributed streaming platform.
https://fundingcircle.github.io/jackdaw/
BSD 3-Clause "New" or "Revised" License
369 stars 80 forks source link

Make seek-to-timestamp behave as advertised #198

Closed cddr closed 4 years ago

cddr commented 4 years ago

Suggested change to address the issue raised in #195

As the change to the test demonstrates, if the specified timestamp exceeds that of any previously written message, then rather than seek to the beginning of the partition, this change causes the consumer to seek to the end of the partition (and then increment by 1 to get the next message).

Points to note...