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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10.0.0
    • Fix Version/s: 0.10.0.1
    • Component/s: streams
    • Labels:

      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

          Activity

            People

            • Assignee:
              trybak Tom Rybak
              Reporter:
              trybak Tom Rybak

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment