[
https://issues.apache.org/jira/browse/FLINK-19319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390721#comment-17390721
]
Fuyao Li commented on FLINK-19319:
----------------------------------
[~aljoscha] Hi Aljoscha, I think you made a small typo here.
If you need to disable watermarks, please use
`ExecutionConfig.setAutoWatermarkInterval(0)`? This is also a little bit
misleading the Flink release note.
https://ci.apache.org/projects/flink/flink-docs-release-1.13/release-notes/flink-1.12/#flip-134-batch-execution-for-the-datastream-api
> Deprecate StreamExecutionEnvironment.setStreamTimeCharacteristic() and
> TimeCharacteristic
> -----------------------------------------------------------------------------------------
>
> Key: FLINK-19319
> URL: https://issues.apache.org/jira/browse/FLINK-19319
> Project: Flink
> Issue Type: Sub-task
> Components: API / DataStream
> Reporter: Aljoscha Krettek
> Assignee: Aljoscha Krettek
> Priority: Major
> Fix For: 1.12.0
>
>
> After FLINK-19317 and FLINK-19318 we don't need this setting anymore. Using
> (explicit) processing-time windows and processing-time timers work fine in a
> program that has {{EventTime}} set as a time characteristic and once we
> deprecate {{timeWindow()}} there are not other operations that change
> behaviour depending on the time characteristic so there's no need to ever
> change from the new default of event-time. Similarly, the {{IngestionTime}}
> setting can be achieved in the future by providing an ingestion-time
> {{WatermarkStrategy}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)