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

Allow Watermark Generation in the Kafka Source

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • Connectors / Kafka
    • None

    Description

      It is a common case that event timestamps are ascending inside one Kafka Partition. Ascending timestamps are easy for users, because they are handles by ascending timestamp extraction.

      If the Kafka source has multiple partitions per source task, then the records become out of order before timestamps can be extracted and watermarks can be generated.

      If we make the FlinkKafkaConsumer an event time source function, it can generate watermarks itself. It would internally implement the same logic as the regular operators that merge streams, keeping track of event time progress per partition and generating watermarks based on the current guaranteed event time progress.

      Attachments

        Activity

          People

            kkl0u Kostas Kloudas
            sewen Stephan Ewen
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: