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

EventTimeSessionWindows trigger for empty windows when dropping late events

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.3
    • 1.1.0
    • API / DataStream
    • None

    Description

      It seems like EventTimeSessionWindows sometimes trigger for empty windows. The behavior is observed in connection with dropping late events:

      stream
       .keyBy("sessionKey")
       .window(EventTimeSessionWindows.withGap(Time.milliseconds(100)))
       .allowedLateness(Time.milliseconds(0))
       .apply(new ValidatingWindowFunction())
       .print();
      

      I wrote a generator that generates events for several parallel sessions and that allows to reproduce the error. For now, I can share this generator privately for debugging purposes, but my plan is to use the generator as basis for an integration test.

      Attachments

        Issue Links

          Activity

            People

              srichter Stefan Richter
              srichter Stefan Richter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: