[ 
https://issues.apache.org/jira/browse/KAFKA-7928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16879561#comment-16879561
 ] 

ASF GitHub Bot commented on KAFKA-7928:
---------------------------------------

mjsax commented on pull request #6268: KAFKA-7928: Deprecate 
WindowStore.put(key, value)
URL: https://github.com/apache/kafka/pull/6268
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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)

Reply via email to