WEB UI

自在现实發表於2024-05-13

1.在IDE中編寫Flink程式碼,檢視Web UI,從而來了解Flink程式的執行情況

  1.  <dependency>
         <groupId>org.apache.flink</groupId>
         <artifactId>flink-runtime-web</artifactId>
         <version>${flink.version}</version>
    
    </dependency>

    Configuration configuration = new Configuration();
    StreamExecutionEnvironment env = StreamExecutionEnvironment.createLocalEnvironmentWithWebUI(configuration);

3.訪問 http://localhost:8081

相關文章