feature(web): 增加批量增加压缩调度
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package com.lanyuanxiaoyao.service.configuration;
|
||||
|
||||
/**
|
||||
* @author lanyuanxiaoyao
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
public interface Constants {
|
||||
String SERVICE_NAME_INFO_QUERY = "info-query";
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.lanyuanxiaoyao.service.configuration.exception;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
|
||||
/**
|
||||
* Hudi 服务异常
|
||||
*
|
||||
* @author lanyuanxiaoyao
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
public class HudiServiceException extends Exception {
|
||||
public HudiServiceException(String serviceName) {
|
||||
super(StrUtil.format("[{}] cause exception", serviceName));
|
||||
}
|
||||
|
||||
public HudiServiceException(String serviceName, String message) {
|
||||
super(StrUtil.format("[{}] {}", serviceName, message));
|
||||
}
|
||||
|
||||
public HudiServiceException(String serviceName, String message, Throwable cause) {
|
||||
super(StrUtil.format("[{}] {}", serviceName, message), cause);
|
||||
}
|
||||
|
||||
public HudiServiceException(String serviceName, Throwable cause) {
|
||||
super(StrUtil.format("[{}] cause exception"), cause);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.lanyuanxiaoyao.service.configuration.exception;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
|
||||
/**
|
||||
* @author lanyuanxiaoyao
|
||||
* @date 2023-07-06
|
||||
*/
|
||||
public class TableNotFoundException extends HudiServiceException {
|
||||
public TableNotFoundException(String serviceName, Long flinkJobId, String alias) {
|
||||
super(serviceName, StrUtil.format("Table {} {} is not found", flinkJobId, alias));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user