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

ContinuousFileReaderOperator swallows chained watermarks

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.3.2
    • 1.4.0
    • Connectors / Common
    • None

    Description

      I use event time and read from a (finite) file. I assign watermarks right after the ContinuousFileReaderOperator with parallelism 1.

      env
        .readFile(new TextInputFormat(...), ...)
        .setParallelism(1)
        .assignTimestampsAndWatermarks(...)
        .setParallelism(1)
        .map()...
      

      The watermarks I assign never progress through the pipeline.

      I can work around this by inserting a shuffle() after the file reader or starting a new chain at the assigner:

      env
        .readFile(new TextInputFormat(...), ...)
        .setParallelism(1)
        .shuffle() 
        .assignTimestampsAndWatermarks(...)
        .setParallelism(1)
        .map()...
      

      Attachments

        Issue Links

          Activity

            People

              kkl0u Kostas Kloudas
              uce Ufuk Celebi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: