You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Eric Bolinger (Jira)" <ji...@apache.org> on 2020/04/12 00:42:00 UTC
[jira] [Created] (KAFKA-9853) Improve performance of
Log.fetchOffsetByTimestamp()
Eric Bolinger created KAFKA-9853:
------------------------------------
Summary: Improve performance of Log.fetchOffsetByTimestamp()
Key: KAFKA-9853
URL: https://issues.apache.org/jira/browse/KAFKA-9853
Project: Kafka
Issue Type: Improvement
Components: core
Affects Versions: 2.4.1, 0.10.2.2
Reporter: Eric Bolinger
This method inefficiently searches for the first element that meets a condition. The temporary collection returned by `takeWhile()` method is not really used. But rather the length is used as an offset into the original collection.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)