Skip to content

Commit 5926e47

Browse files
author
yanxi0227
committed
Merge branch 'v1.5.0_dev' of github.com:DTStack/flinkStreamSQL into v1.5.0_dev
2 parents a9d4663 + 83e7ddc commit 5926e47

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public boolean check() {
123123
Preconditions.checkNotNull(topic, "kafka of topic is required");
124124
//Preconditions.checkNotNull(groupId, "kafka of groupId is required");
125125
Preconditions.checkState(offsetReset.equalsIgnoreCase("latest")
126-
|| offsetReset.equalsIgnoreCase("latest"), "kafka of offsetReset set fail");
126+
|| offsetReset.equalsIgnoreCase("earliest"), "kafka of offsetReset set fail");
127127

128128
return false;
129129
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public boolean check() {
123123
Preconditions.checkNotNull(topic, "kafka of topic is required");
124124
//Preconditions.checkNotNull(groupId, "kafka of groupId is required");
125125
Preconditions.checkState(offsetReset.equalsIgnoreCase("latest")
126-
|| offsetReset.equalsIgnoreCase("latest"), "kafka of offsetReset set fail");
126+
|| offsetReset.equalsIgnoreCase("earliest"), "kafka of offsetReset set fail");
127127

128128
return false;
129129
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public boolean check() {
124124
Preconditions.checkNotNull(topic, "kafka of topic is required");
125125
//Preconditions.checkNotNull(groupId, "kafka of groupId is required");
126126
Preconditions.checkState(offsetReset.equalsIgnoreCase("latest")
127-
|| offsetReset.equalsIgnoreCase("latest"), "kafka of offsetReset set fail");
127+
|| offsetReset.equalsIgnoreCase("earliest"), "kafka of offsetReset set fail");
128128

129129
return false;
130130
}

0 commit comments

Comments
 (0)