You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "MonsterChenzhuo (via GitHub)" <gi...@apache.org> on 2023/04/07 12:44:42 UTC

[GitHub] [incubator-seatunnel] MonsterChenzhuo opened a new issue, #4517: [Bug] [Connector] Kafka e2e the error cannot be executed successfully.

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: commits-unsubscribe@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] github-actions[bot] commented on issue #4517: [Bug] [Connector] Kafka e2e the error cannot be executed successfully.

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4517:
URL: https://github.com/apache/incubator-seatunnel/issues/4517#issuecomment-1537582377

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] MonsterChenzhuo commented on issue #4517: [Bug] [Connector] Kafka e2e the error cannot be executed successfully.

Posted by "MonsterChenzhuo (via GitHub)" <gi...@apache.org>.
MonsterChenzhuo commented on issue #4517:
URL: https://github.com/apache/incubator-seatunnel/issues/4517#issuecomment-1500271589

   cc @hailin0 


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] laglangyue commented on issue #4517: [Bug] [Connector] Kafka e2e the error cannot be executed successfully.

Posted by "laglangyue (via GitHub)" <gi...@apache.org>.
laglangyue commented on issue #4517:
URL: https://github.com/apache/incubator-seatunnel/issues/4517#issuecomment-1500305942

   ![image](https://user-images.githubusercontent.com/35491928/230619743-246cd8b5-ad44-4377-bb6e-d8fa43e30b43.png)
   


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] laglangyue commented on issue #4517: [Bug] [Connector] Kafka e2e the error cannot be executed successfully.

Posted by "laglangyue (via GitHub)" <gi...@apache.org>.
laglangyue commented on issue #4517:
URL: https://github.com/apache/incubator-seatunnel/issues/4517#issuecomment-1500418190

   I has found the bug, I will fix it soon


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] github-actions[bot] commented on issue #4517: [Bug] [Connector] Kafka e2e the error cannot be executed successfully.

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4517:
URL: https://github.com/apache/incubator-seatunnel/issues/4517#issuecomment-1547044149

   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] github-actions[bot] closed issue #4517: [Bug] [Connector] Kafka e2e the error cannot be executed successfully.

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #4517: [Bug] [Connector] Kafka e2e the error cannot be executed successfully.
URL: https://github.com/apache/incubator-seatunnel/issues/4517


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] laglangyue commented on issue #4517: [Bug] [Connector] Kafka e2e the error cannot be executed successfully.

Posted by "laglangyue (via GitHub)" <gi...@apache.org>.
laglangyue commented on issue #4517:
URL: https://github.com/apache/incubator-seatunnel/issues/4517#issuecomment-1500304947

   A single test passed on my machine, but running multiple use cases at the same time failed. I believe it is an implementation issue with KafkaContainer


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org