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)

Reply via email to