feat(executor-task): 数据扫描增加pulsar队列读取

This commit is contained in:
2024-01-19 14:36:41 +08:00
parent 521e82104f
commit 9140a39bf1
22 changed files with 796 additions and 105 deletions

View File

@@ -10,14 +10,18 @@ public class TableInfoSearchCache {
private Long flinkJobId;
private String alias;
private String hdfs;
private String pulsar;
private String topic;
public TableInfoSearchCache() {
}
public TableInfoSearchCache(Long flinkJobId, String alias, String hdfs) {
public TableInfoSearchCache(Long flinkJobId, String alias, String hdfs, String pulsar, String topic) {
this.flinkJobId = flinkJobId;
this.alias = alias;
this.hdfs = hdfs;
this.pulsar = pulsar;
this.topic = topic;
}
public Long getFlinkJobId() {
@@ -44,12 +48,30 @@ public class TableInfoSearchCache {
this.hdfs = hdfs;
}
public String getPulsar() {
return pulsar;
}
public void setPulsar(String pulsar) {
this.pulsar = pulsar;
}
public String getTopic() {
return topic;
}
public void setTopic(String topic) {
this.topic = topic;
}
@Override
public String toString() {
return "TableInfoSearchCache{" +
"flinkJobId=" + flinkJobId +
", alias='" + alias + '\'' +
", hdfs='" + hdfs + '\'' +
'}';
"flinkJobId=" + flinkJobId +
", alias='" + alias + '\'' +
", hdfs='" + hdfs + '\'' +
", pulsar='" + pulsar + '\'' +
", topic='" + topic + '\'' +
'}';
}
}