...
The target timestamp have to be non-negative. Otherwise an IllegalArgumentException
will be thrown. If no message has a timestamp that is greater than or equals to the target time, a TimestampOffset(-1L, -1L)
null
will be returned.
earliestOffsets() and latestOffsets()
...