Github user aljoscha commented on a diff in the pull request: https://github.com/apache/flink/pull/2020#discussion_r65209426 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/environment/StreamExecutionEnvironment.java --- @@ -877,15 +880,15 @@ public TimeCharacteristic getStreamTimeCharacteristic() { /** * Reads the given file line-by-line and creates a data stream that contains a string with the contents of each such - * line. Depending on the provided {@link WatchType}, the source may periodically monitor (every {@code interval} ms) - * the path for new data ({@link WatchType#REPROCESS_WITH_APPENDED}), or process once the data currently in the path and - * exit ({@link WatchType#PROCESS_ONCE}). + * line. Depending on the provided {@link ProcessingMode}, the source may periodically monitor (every {@code interval} ms) + * the path for new data ({@link ProcessingMode#PROCESS_CONTINUOUSLY}), or process once the data currently in the path and + * exit ({@link ProcessingMode#PROCESS_ONCE}). * * <p> - * <b> NOTES ON CHECKPOINTING: </b> If the {@code watchType} is set to {@link WatchType#PROCESS_ONCE}, the source - * (which executes the {@link FileSplitMonitoringFunction}) monitors the path <b>once</b>, creates the + * <b> NOTES ON CHECKPOINTING: </b> If the {@code watchType} is set to {@link ProcessingMode#PROCESS_ONCE}, the source + * (which executes the {@link ContinuousFileMonitoringFunction}) monitors the path <b>once</b>, creates the --- End diff -- I think we can remove the "(which executes the {@link ContinuousFileMonitoringFunction})" part. The source does not execute this, it is itself the source.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---