File tree Expand file tree Collapse file tree 3 files changed +0
-12
lines changed
kafka09/kafka09-source/src/main/java/com/dtstack/flink/sql/source/kafka/table
kafka10/kafka10-source/src/main/java/com/dtstack/flink/sql/source/kafka/table
kafka11/kafka11-source/src/main/java/com/dtstack/flink/sql/source/kafka/table Expand file tree Collapse file tree 3 files changed +0
-12
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments