[ https://issues.apache.org/jira/browse/FLINK-2314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15296357#comment-15296357 ]
ASF GitHub Bot commented on FLINK-2314: --------------------------------------- Github user aljoscha commented on a diff in the pull request: https://github.com/apache/flink/pull/2020#discussion_r64221544 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/datastream/DataStreamSource.java --- @@ -44,6 +44,11 @@ public DataStreamSource(StreamExecutionEnvironment environment, } } + public DataStreamSource(SingleOutputStreamOperator<T> operator) { --- End diff -- Here, we should always set `isParallel` to `true`. It is not quite obvious but the field is used to disallow changing the parallelism for a `SourceFunction` that cannot be parallelized. Our new operator can always run in parallel. > Make Streaming File Sources Persistent > -------------------------------------- > > Key: FLINK-2314 > URL: https://issues.apache.org/jira/browse/FLINK-2314 > Project: Flink > Issue Type: Improvement > Components: Streaming > Affects Versions: 0.9 > Reporter: Stephan Ewen > Assignee: Kostas Kloudas > > Streaming File sources should participate in the checkpointing. They should > track the bytes they read from the file and checkpoint it. > One can look at the sequence generating source function for an example of a > checkpointed source. -- This message was sent by Atlassian JIRA (v6.3.4#6332)