Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8007

In-memory window store copies on fetch

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: streams
    • Labels:
      None

      Description

      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). 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ableegoldman Sophie Blee-Goldman
                Reporter:
                ableegoldman Sophie Blee-Goldman
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: