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

Make `addSource` method with specific boundedness in `StreamExecutionEnvironment` public

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 1.14.0
    • None

    Description

      Currently, when we add a source function by calling `addSource(sourceFunction, name, typeinfo)` of `StreamExecutionEnvironment` , the source is set to CONTINUOUS_UNBOUNDED by default (Flink-19392). However, for table api / sql job, the batch source is also created by calling the above `addSource` method, which is thus set to CONTINUOUS_UNBOUNDED and produces unexpected behavior. I think StreamExecutionEnvironment should expose an `addSource` method to allow users to pass a boundedness parameter.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              icshuo Shuo Cheng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: