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

Support read a file multiple times in Flink DataStream

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.6.0
    • 1.6.0
    • API / DataStream
    • None

    Description

      Motivation: We have the requirements to read a bunch files, each file to read multiple times, to feed our streams

      Specifically we need StreamExecutionEnvironment.readFile/readTextFile to be able to read a file for a specified N times, but currently it only supports reading file once.

      We've implemented this internally. Would be good to get it back to the community version. This jira is to add support for the feature.

      Plan:

      add a new processing mode as PROCESSING_N_TIMES, and add additional parameter numTimes for StreamExecutionEnvironment.readFile/readTextFile

      Attachments

        Issue Links

          Activity

            People

              phoenixjiangnan Bowen Li
              phoenixjiangnan Bowen Li
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: