MonsterChenzhuo opened a new issue, #4517:
URL: https://github.com/apache/incubator-seatunnel/issues/4517

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   Class of e2e error reporting: 
src/test/java/org/apache/seatunnel/e2e/connector/kafka/KafkaIT.java 
下的testSourceKafkaJsonFormatErrorHandleWayFailToConsole
   <img width="1280" alt="图片" 
src="https://user-images.githubusercontent.com/60029759/230610644-734269a4-6970-4410-97c8-4b018f356184.png";>
   After adding source_table_name, I found that e2e was stuck.
   
   Remove a sink and one of the connectors will return to normal.
   <img width="1280" alt="图片" 
src="https://user-images.githubusercontent.com/60029759/230610728-bc3d10a2-0a16-4db4-a58b-ae9fb7738080.png";>
   
   
   ### SeaTunnel Version
   
   2.3.1
   
   ### SeaTunnel Config
   
   ```conf
   #
   # Licensed to the Apache Software Foundation (ASF) under one or more
   # contributor license agreements.  See the NOTICE file distributed with
   # this work for additional information regarding copyright ownership.
   # The ASF licenses this file to You under the Apache License, Version 2.0
   # (the "License"); you may not use this file except in compliance with
   # the License.  You may obtain a copy of the License at
   #
   #    http://www.apache.org/licenses/LICENSE-2.0
   #
   # Unless required by applicable law or agreed to in writing, software
   # distributed under the License is distributed on an "AS IS" BASIS,
   # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   # See the License for the specific language governing permissions and
   # limitations under the License.
   #
   ######
   ###### This config file is a demonstration of streaming processing in 
seatunnel config
   ######
   
   env {
       execution.parallelism = 1
       job.mode = "BATCH"
   
       # You can set spark configuration here
       spark.app.name = "SeaTunnel"
       spark.executor.instances = 1
       spark.executor.cores = 1
       spark.executor.memory = "1g"
       spark.master = local
   }
   
   source {
     Kafka {
       bootstrap.servers = "localhost:9092"
       topic = "my_topic"
       result_table_name = "kafka"
       start_mode = "earliest"
       format_error_handle_way = skip
   #     kafka.auto.offset.reset = "earliest"
       schema = {
             fields {
               c_map = "map<string, string>"
               c_array = "array<int>"
               c_string = string
               c_boolean = boolean
               c_tinyint = tinyint
               c_smallint = smallint
               c_int = int
               c_bigint = bigint
               c_float = float
               c_double = double
               c_bytes = bytes
               c_date = date
               c_decimal = "decimal(38, 18)"
               c_timestamp = timestamp
               c_row = {
                 c_map = "map<string, string>"
                 c_array = "array<int>"
                 c_string = string
                 c_boolean = boolean
                 c_tinyint = tinyint
                 c_smallint = smallint
                 c_int = int
                 c_bigint = bigint
                 c_float = float
                 c_double = double
                 c_bytes = bytes
                 c_date = date
                 c_decimal = "decimal(38, 18)"
                 c_timestamp = timestamp
               }
             }
           }
     }
   }
   
   sink {
     Console {
           source_table_name = ["kafka"]
   
     }
     Assert {
         source_table_name = ["kafka"]
         rules =
           {
             field_rules = [
               {
                 field_name = c_string
                 field_type = string
                 field_value = [
                   {
                     rule_type = NOT_NULL
                   }
                 ]
               }
                 ]
               }
       }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   *
   ```
   
   
   ### Error Exception
   
   ```log
   *
   ```
   
   
   ### Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to