[
https://issues.apache.org/jira/browse/KAFKA-8007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bill Bejeck updated KAFKA-8007:
-------------------------------
Component/s: streams
> In-memory window store copies on fetch
> --------------------------------------
>
> Key: KAFKA-8007
> URL: https://issues.apache.org/jira/browse/KAFKA-8007
> Project: Kafka
> Issue Type: Improvement
> Components: streams
> Affects Versions: 2.3.0
> Reporter: Sophie Blee-Goldman
> Assignee: Sophie Blee-Goldman
> Priority: Major
>
> The current implementation of InMemoryWindowStore copies all record data into
> a new list and returns an iterator over that list when fetching. That is
> inefficient in terms of both memory and time. The fetching logic should be
> moved to the iterators, which could be cleaned up as well (currently they
> rely on ListIterator to provide peekNextKey() functionality, which is
> unnecessary).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)