You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Omkar Mestry (JIRA)" <ji...@apache.org> on 2019/05/25 07:04:00 UTC

[jira] [Updated] (KAFKA-7245) Deprecate WindowStore#put(key, value)

     [ https://issues.apache.org/jira/browse/KAFKA-7245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Omkar Mestry updated KAFKA-7245:
--------------------------------
    Description: 
We want to remove `WindowStore#put(key, value)` – for this, we first need to deprecate is via a KIP and remove later.

Instead of using `WindowStore#put(key, value)` we need to migrate code to specify the timestamp explicitly using `WindowStore#put(key, value, timestamp)`. The current code base use the explicit call to set the timestamp in production code already. The simplified `put(key, value)` is only used in tests, and thus, we would need to update those tests.

KIP-474 :- [https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=115526545]

  was:
We want to remove `WindowStore#put(key, value)` – for this, we first need to deprecate is via a KIP and remove later.

Instead of using `WindowStore#put(key, value)` we need to migrate code to specify the timestamp explicitly using `WindowStore#put(key, value, timestamp)`. The current code base use the explicit call to set the timestamp in production code already. The simplified `put(key, value)` is only used in tests, and thus, we would need to update those tests.

[https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Improvement+Proposals]


> Deprecate WindowStore#put(key, value)
> -------------------------------------
>
>                 Key: KAFKA-7245
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7245
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>            Reporter: Matthias J. Sax
>            Assignee: Omkar Mestry
>            Priority: Minor
>              Labels: needs-kip, newbie
>
> We want to remove `WindowStore#put(key, value)` – for this, we first need to deprecate is via a KIP and remove later.
> Instead of using `WindowStore#put(key, value)` we need to migrate code to specify the timestamp explicitly using `WindowStore#put(key, value, timestamp)`. The current code base use the explicit call to set the timestamp in production code already. The simplified `put(key, value)` is only used in tests, and thus, we would need to update those tests.
> KIP-474 :- [https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=115526545]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)