liuyongvs commented on a change in pull request #11471: [FLINK-16692] flink joblistener can register from config URL: https://github.com/apache/flink/pull/11471#discussion_r396857369
########## File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/environment/StreamExecutionEnvironment.java ########## @@ -761,6 +768,20 @@ public void configure(ReadableConfig configuration, ClassLoader classLoader) { }); config.configure(configuration, classLoader); checkpointCfg.configure(configuration); + configuration.getOptional(ExecutionOptions.JOB_LISTENERS) + .ifPresent(l -> { + for (String listener : l) { + try { Review comment: I have used this tool ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services