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

   ### 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
   
   MySql-CDC Source,Clickhouse Sink.bulk_size is not set(defaule 20000), the 
data source has 50,000 rows of data, but clickhouse only writes 40,000 rows. 
Waiting for the trigger checkpoint did not write the remaining 10,000 rows of 
data. Set bulk_size to 1, all data will be written to clickhouse
   
   ### SeaTunnel Version
   
   2.3.1
   
   ### SeaTunnel Config
   
   ```conf
   env {
     execution.parallelism = 5
     job.mode = "STREAMING"
   }
   
   source {
     MySQL-CDC {
       result_table_name = "mq"
       #server-id = 5656
       base-url = "jdbc:mysql://hadoop12:3306/dbname"
       driver = "com.mysql.cj.jdbc.Driver"
       username = "xx"
       password = "xxx"
       table-names = ["xx.xxx"]
       startup.mode = "earliest"
       debezium {
           snapshot.mode = "never"
           decimal.handling.mode = "double"
       }
     }
   }
   
   
   sink {
     clickhouse {
       source_table_name = "mq"
       host = "localhost:8123"
       username = "xx"
       password = "xxx"
       database = "db2"
       table = "xx"
       # bulk_size = 1
   
       # cdc options
       primary_keys = "id"
       support_upsert = true
       allow_experimental_lightweight_delete = true
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   seatunnel.sh -c cktest.conf -e local
   ```
   
   
   ### Error Exception
   
   ```log
   None
   ```
   
   
   ### Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   jdk 1.8
   
   ### Screenshots
   
   
![image](https://user-images.githubusercontent.com/91253138/230338434-9c3ac63b-4ed4-43c8-88f8-9bd5045b82c4.png)
   
![image](https://user-images.githubusercontent.com/91253138/230338477-a3ae243f-78e7-4a05-9ae2-36e79c1c81f7.png)
   
   
   ### 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