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

Kafka consumer doesn't store last emmited watermarks per partition in state

Agile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersStop watchingWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.1.1
    • None
    • Connectors / Kafka
    • None

    Description

      Kafka consumers stores in state only kafka offsets and doesn't store last emmited watermarks, this may go to wrong state when checkpoint is restored:

      Let's say our watermark is (timestamp - 10) and in case we have the following messages queue results will be different after checkpoint restore and during normal processing:

      A(ts = 30)
      B(ts = 35)
      ------ checkpoint goes here
      C(ts=15) – this one should be filtered by next time window
      D(ts=60)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            roman_maier Roman Maier
            ymakhno Yuri Makhno
            Votes:
            1 Vote for this issue
            Watchers:
            6 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment