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

Deprecate WindowStore.put(key, value)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      Specifically, `org.apache.kafka.streams.state.WindowStore#put(K, V)`

      This method is strange... A window store needs to have a timestamp associated with the key, so if you do a put without a timestamp, it's up to the store to just make one up.

      Even the javadoc on the method recommends not to use it, due to this confusing behavior.

      We should just deprecate it.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ouertani Slim Ouertani
                Reporter:
                vvcephei John Roesler
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: