You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2016/02/29 14:42:18 UTC

[jira] [Created] (FLINK-3536) Make clearer distinction between event time and processing time

Till Rohrmann created FLINK-3536:
------------------------------------

             Summary: Make clearer distinction between event time and processing time
                 Key: FLINK-3536
                 URL: https://issues.apache.org/jira/browse/FLINK-3536
             Project: Flink
          Issue Type: Improvement
          Components: DataStream API
            Reporter: Till Rohrmann
            Priority: Minor


If you define your own windows it is easy to mix up the time characteristic with the wrong set of predefined {{WindowAssigners}}. You cannot use processing time with a {{TumblingTimeWindows}} window assigner, for example.

Neither from the name of {{TumblingTimeWindows}} nor from the JavaDocs it is clearly obvious that this {{WindowAssigner}} can only be used with event time. I think it would be better to rename the event time window assigner to something like {{TumblingEventTimeWindows}}. Additionally, we could extend the JavaDocs a bit, since not everyone knows that "based on the timestamps" means based on event time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)