feat(command): 增加手动调度全表压缩和重点表压缩
This commit is contained in:
@@ -40,6 +40,16 @@ public class CompactionCommand extends AbstractUtilShellComponent {
|
||||
this.launchersService = launchersService;
|
||||
}
|
||||
|
||||
@ShellMethod("启动全部表压缩")
|
||||
public void compactionAll() {
|
||||
scheduleService.scheduleAllTable();
|
||||
}
|
||||
|
||||
@ShellMethod("启动全部重点表压缩")
|
||||
public void compactionAllForce() {
|
||||
scheduleService.scheduleAllFocus();
|
||||
}
|
||||
|
||||
@ShellMethod("启动表压缩任务")
|
||||
public String compactionRun(
|
||||
@ShellOption(help = "Flink job id") Long flinkJobId,
|
||||
|
||||
Reference in New Issue
Block a user