flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-19317) Make EventTime the default StreamTimeCharacteristic
Date Tue, 29 Sep 2020 13:24:00 GMT

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

ASF GitHub Bot updated FLINK-19317:
-----------------------------------
    Labels: pull-request-available  (was: )

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

Mime
View raw message