Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3536

Make clearer distinction between event time and processing time

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.0
    • API / DataStream
    • None

    Description

      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.

      Attachments

        Activity

          People

            aljoscha Aljoscha Krettek
            trohrmann Till Rohrmann
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: