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

Deprecate WindowStore.put(key, value)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: