Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3784

TimeWindows#windowsFor misidentifies some windows if TimeWindows#advanceBy is used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.10.0.0
    • 0.10.0.1
    • streams

    Description

      Using a time window of size 6 minutes with a 5 minute advanceBy results in some of the timestamped data being inserted into the previous overlapping window even though the event's timestamp > that window's end time.

      The fault lies in TimeWindows#windowsFor which does not check that all the windows it's adding have an endTime > event's timestamp.

      Attachments

        Issue Links

          Activity

            People

              trybak Tom Rybak
              trybak Tom Rybak
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: