Class TaskManagerController

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

@RestController @RequestMapping("/flinkful/taskmanagers") public class TaskManagerController extends Object
  • Constructor Details

    • TaskManagerController

      public TaskManagerController()
  • Method Details

    • taskManagers

      @GetMapping public CompletableFuture<org.apache.flink.runtime.rest.messages.taskmanager.TaskManagersInfo> taskManagers() throws IOException
      https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#taskmanagers
      Throws:
      IOException
    • taskMangersMetrics

      @GetMapping("metrics") public CompletableFuture<AggregatedMetricsResponseBody> taskMangersMetrics(@RequestParam(value="get",required=false) Optional<String> get, @RequestParam(value="agg",required=false) Optional<String> agg, @RequestParam(value="taskmanagers",required=false) Optional<String> taskmanagers) throws IOException
      https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#taskmanagers-metrics
      Throws:
      IOException
    • taskManagerDetail

      @GetMapping("{taskManagerId}") public CompletableFuture<org.apache.flink.runtime.rest.messages.taskmanager.TaskManagerDetailsInfo> taskManagerDetail(@PathVariable("taskManagerId") String taskManagerId) throws IOException
      https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#taskmanagers-taskmanagerid
      Throws:
      IOException
    • taskManagerMetrics

      @GetMapping("{taskManagerId}/metrics") public CompletableFuture<MetricCollectionResponseBody> taskManagerMetrics(@PathVariable("taskManagerId") String taskManagerId, @RequestParam(value="get",required=false) Optional<String> get) throws IOException
      https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#taskmanagers-taskmanagerid-metrics
      Throws:
      IOException
    • taskManagerLogs

      @GetMapping("{taskManagerId}/logs") public CompletableFuture<LogListInfo> taskManagerLogs(@PathVariable("taskManagerId") String taskManagerId) throws IOException
      https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#taskmanagers-taskmanagerid-logs
      Throws:
      IOException
    • taskManagerThreadDump

      @GetMapping("{taskManagerId}/thread-dump") public CompletableFuture<ThreadDumpInfo> taskManagerThreadDump(@PathVariable("taskManagerId") String taskManagerId) throws IOException
      https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#taskmanagers-taskmanagerid-thread-dump
      Throws:
      IOException