feat(zookeeper-query): 增加查询run meta接口
This commit is contained in:
@@ -3,6 +3,7 @@ package com.lanyuanxiaoyao.service.forest.service;
|
||||
import com.dtflys.forest.annotation.BaseRequest;
|
||||
import com.dtflys.forest.annotation.Get;
|
||||
import com.dtflys.forest.annotation.Query;
|
||||
import com.eshore.odcp.hudi.connector.entity.RunMeta;
|
||||
import com.lanyuanxiaoyao.service.configuration.entity.zookeeper.ZookeeperNode;
|
||||
import org.eclipse.collections.api.list.ImmutableList;
|
||||
|
||||
@@ -25,4 +26,16 @@ public interface ZookeeperService {
|
||||
|
||||
@Get("/get_children")
|
||||
ImmutableList<ZookeeperNode> getChildren(@Query("path") String path);
|
||||
|
||||
@Get("/get_sync_meta_by_flink_job_id")
|
||||
RunMeta getSyncRunMeta(@Query("flink_job_id") Long flinkJobId);
|
||||
|
||||
@Get("/get_sync_meta_by_flink_job_id_and_alias")
|
||||
RunMeta getSyncRunMeta(@Query("flink_job_id") Long flinkJobId, @Query("alias") String alias);
|
||||
|
||||
@Get("/get_compaction_meta_by_flink_job_id_and_alias")
|
||||
RunMeta getCompactionRunMeta(@Query("flink_job_id") Long flinkJobId, @Query("alias") String alias);
|
||||
|
||||
@Get("/get_run_meta")
|
||||
RunMeta getRunMeta();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user