You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Shuo Cheng (Jira)" <ji...@apache.org> on 2021/06/24 07:32:00 UTC

[jira] [Created] (FLINK-23136) Make `addSource` method with specific boundedness in `StreamExecutionEnvironment` public

Shuo Cheng created FLINK-23136:
----------------------------------

             Summary: Make `addSource` method with specific boundedness in `StreamExecutionEnvironment` public
                 Key: FLINK-23136
                 URL: https://issues.apache.org/jira/browse/FLINK-23136
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Configuration
            Reporter: Shuo Cheng


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)