mxm commented on a change in pull request #13116:
URL: https://github.com/apache/beam/pull/13116#discussion_r507677298



##########
File path: 
runners/flink/src/main/java/org/apache/beam/runners/flink/FlinkExecutionEnvironments.java
##########
@@ -259,28 +278,44 @@ static StreamExecutionEnvironment 
createStreamExecutionEnvironment(
         options.setShutdownSourcesAfterIdleMs(0L);
       }
     }
+  }
 
-    applyLatencyTrackingInterval(flinkStreamEnv.getConfig(), options);
-
-    if (options.getAutoWatermarkInterval() != null) {
-      
flinkStreamEnv.getConfig().setAutoWatermarkInterval(options.getAutoWatermarkInterval());
-    }
-
-    // State backend
-    if (options.getStateBackendFactory() != null) {
+  private static void configureStateBackend(

Review comment:
       I think that's a great idea. We can start thinking about that on the 
mailing list and handle this via separate JIRA issue. This pipeline option can 
then be replaced by the generic configuration option.
   
   For now, this pipeline option will fulfill a common request by Beam users to 
directly set the state backend without having to change the Flink configuration.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to