You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (Jira)" <ji...@apache.org> on 2020/10/01 15:16:00 UTC

[jira] [Closed] (FLINK-19317) Make EventTime the default StreamTimeCharacteristic

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

Aljoscha Krettek closed FLINK-19317.
------------------------------------
    Fix Version/s: 1.12.0
       Resolution: Fixed

master: 1175364cc9f5bc6018d4c3f231d24cb8ff5e6341

> Make EventTime the default StreamTimeCharacteristic
> ---------------------------------------------------
>
>                 Key: FLINK-19317
>                 URL: https://issues.apache.org/jira/browse/FLINK-19317
>             Project: Flink
>          Issue Type: Sub-task
>          Components: API / DataStream
>            Reporter: Aljoscha Krettek
>            Assignee: Aljoscha Krettek
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.12.0
>
>
> Excerpt from FLIP-134:
> {quote}
> As described above, event time is the only sensible time characteristic for batch. We therefore propose to change the default value of the StreamTimeCharacteristic from ProcessingTime to EventTime. This means the DataStream API programs that were using event time before now just work without manually changing this setting. Processing-time programs will also still work, because using processing-time timers is not dependent on the StreamTimeCharacteristic. DataStream programs that don't set a TimestampAssigner or WatermarkStrategy will also still work if they don't use operations that don't rely on (event-time) timestamps. This is true for both BATCH and STREAMING execution mode.
> The only real user-visible change of this is that programs that used the KeyedStream.timeWindow()/DataStream.timeWindow() operation, which is dependent on the StreamTimeCharacteristic will now use event time by default. We don't think this operation is useful because the behaviour can be surprising. We recommend users always use an explicit processing-time window or event-time window.
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)