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

Deprecate WindowStore#put(key, value)

    XMLWordPrintableJSON

    Details

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

      Description

      We want to remove `WindowStore#put(key, value)` – for this, we first need to deprecate is via a KIP and remove later.

      Instead of using `WindowStore#put(key, value)` we need to migrate code to specify the timestamp explicitly using `WindowStore#put(key, value, timestamp)`. The current code base use the explicit call to set the timestamp in production code already. The simplified `put(key, value)` is only used in tests, and thus, we would need to update those tests.

      KIP-474 :- https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=115526545

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                omanges Omkar Mestry
                Reporter:
                mjsax Matthias J. Sax
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: