[ https://issues.apache.org/jira/browse/KAFKA-9853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Bolinger resolved KAFKA-9853. ---------------------------------- Fix Version/s: 2.6.0 Reviewer: Ismael Juma Resolution: Implemented PR# 8474 produced commit 6216c88 (on trunk) > 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: 0.10.2.2, 2.4.1 > Reporter: Eric Bolinger > Priority: Minor > Labels: performance > Fix For: 2.6.0 > > Original Estimate: 1h > Remaining Estimate: 1h > > 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)