Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3643 Improve Windowing
  3. FLINK-3714

Add Support for "Allowed Lateness"

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • API / DataStream
    • None

    Description

      As mentioned in https://docs.google.com/document/d/1Xp-YBf87vLTduYSivgqWVEMjYUmkA-hyb4muX3KRl08/edit# we should add support for an allowed lateness setting.

      This includes several things:

      • API for setting allowed lateness
      • Dropping of late elements
      • Garbage collection of windows state/timers

      Depending on whether the WindowAssigner assigns windows based on event time or processing time we have to adjust the GC behavior. For event-time windows "allowed lateness" makes sense and we should garbage collect after this expires. For processing-time windows "allowed lateness" does not make sense and we should always GC window state/timers at the end timestamp of a processing-time window. I think that we need a method for this on WindowAssigner that allows to differentiate between event-time windows and processing-time windows: boolean WindowAssigner.isEventTime().

      Attachments

        Issue Links

          Activity

            People

              kkl0u Kostas Kloudas
              aljoscha Aljoscha Krettek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: