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

Deprecate WindowStore#put(key, value)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.4.0
    • streams

    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

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

              Dates

                Created:
                Updated:
                Resolved: