Class ClusterController

java.lang.Object
cn.sliew.flinkful.rest.client.controller.ClusterController

@RestController @RequestMapping("/flinkful/cluster") public class ClusterController extends Object
  • Constructor Details

    • ClusterController

      public ClusterController()
  • Method Details

    • overview

      @GetMapping("overview") public CompletableFuture<org.apache.flink.runtime.rest.handler.legacy.messages.ClusterOverviewWithVersion> overview() throws IOException
      https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#overview-1
      Throws:
      IOException
    • shutdown

      @DeleteMapping public CompletableFuture<EmptyResponseBody> shutdown() throws IOException
      https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#cluster
      Throws:
      IOException