You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (JIRA)" <ji...@apache.org> on 2019/05/23 04:29:00 UTC
[jira] [Commented] (KAFKA-7928) Deprecate WindowStore.put(key,
value)
[ https://issues.apache.org/jira/browse/KAFKA-7928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16846417#comment-16846417 ]
Matthias J. Sax commented on KAFKA-7928:
----------------------------------------
This sees to be a duplicate of https://issues.apache.org/jira/browse/KAFKA-7245 – because this ticket does not show any progress, I would suggest to close this as duplicate of 7245, and proceed with 7245. \cc [~vvcephei] [~ouertani] Thoughts?
> 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
> Assignee: Slim Ouertani
> Priority: Major
> Labels: beginner, easy-fix, needs-kip, newbie
>
> 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)