任务启动
启动流程见 $FLINK_HOME/bin/flink
可见其启动入口类为:org.apache.flink.client.cli.CliFrontendCliFrontend 任务入口类
main方法
1  | public static void main(final String[] args) {  | 
添加两种解析集群模式
1  | public static List<CustomCommandLine<?>> loadCustomCommandLines(Configuration configuration, String configurationDirectory) {  | 
run方法 流程
1  | protected void run(String[] args) throws Exception {  |