You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "John Roesler (JIRA)" <ji...@apache.org> on 2019/02/13 22:42:00 UTC
[jira] [Created] (KAFKA-7928) Deprecate WindowStore.put(key, value)
John Roesler created KAFKA-7928:
-----------------------------------
Summary: Deprecate WindowStore.put(key, value)
Key: KAFKA-7928
URL: https://issues.apache.org/jira/browse/KAFKA-7928
Project: Kafka
Issue Type: Improvement
Reporter: John Roesler
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)