Skip to content

Commit 23925a2

Browse files
committed
Merge branch 'v1.5.0_dev' into v1.5.0_release
2 parents e3c19ad + 6144eae commit 23925a2

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

kafka09/kafka09-source/src/main/java/com/dtstack/flink/sql/source/kafka/table/KafkaSourceTableInfo.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,6 @@ public void setOffset(String offset) {
121121
public boolean check() {
122122
Preconditions.checkNotNull(bootstrapServers, "kafka of bootstrapServers is required");
123123
Preconditions.checkNotNull(topic, "kafka of topic is required");
124-
//Preconditions.checkNotNull(groupId, "kafka of groupId is required");
125-
Preconditions.checkState(offsetReset.equalsIgnoreCase("latest")
126-
|| offsetReset.equalsIgnoreCase("earliest"), "kafka of offsetReset set fail");
127-
128124
return false;
129125
}
130126

kafka10/kafka10-source/src/main/java/com/dtstack/flink/sql/source/kafka/table/KafkaSourceTableInfo.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,6 @@ public void setTopicIsPattern(Boolean topicIsPattern) {
121121
public boolean check() {
122122
Preconditions.checkNotNull(bootstrapServers, "kafka of bootstrapServers is required");
123123
Preconditions.checkNotNull(topic, "kafka of topic is required");
124-
//Preconditions.checkNotNull(groupId, "kafka of groupId is required");
125-
Preconditions.checkState(offsetReset.equalsIgnoreCase("latest")
126-
|| offsetReset.equalsIgnoreCase("earliest"), "kafka of offsetReset set fail");
127-
128124
return false;
129125
}
130126

kafka11/kafka11-source/src/main/java/com/dtstack/flink/sql/source/kafka/table/KafkaSourceTableInfo.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,6 @@ public void setOffset(String offset) {
122122
public boolean check() {
123123
Preconditions.checkNotNull(bootstrapServers, "kafka of bootstrapServers is required");
124124
Preconditions.checkNotNull(topic, "kafka of topic is required");
125-
//Preconditions.checkNotNull(groupId, "kafka of groupId is required");
126-
Preconditions.checkState(offsetReset.equalsIgnoreCase("latest")
127-
|| offsetReset.equalsIgnoreCase("earliest"), "kafka of offsetReset set fail");
128-
129125
return false;
130126
}
131127

0 commit comments

Comments
 (0)