Diamonddest opened a new issue, #6566:
URL: https://github.com/apache/seatunnel/issues/6566

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   execute mysql-cdc job,when ts_ms run at latest and will fetch incremental 
row,then job failed.
   
   
   ### SeaTunnel Version
   
   2.3.4
   
   ### SeaTunnel Config
   
   ```conf
   {
       "env" : {
           "parallelism" : 5,
           "job.mode" : "STREAMING",
           "checkpoint.interval" : 10000
       },
       "source" : [
           {
               "base-url" : "jdbc:mysql://sourceip:3306/test",
               "password" : "xxxxx",
               "primary_keys" : [
                   "id"
               ],
               "start_mode" : "initial",
               "table-names" : [
                   "test.veh"
               ],
               "stop.mode" : "never",
               "debeizum.snapshot.mode" : "when_needed",
               "plugin_name" : "MySQL-CDC",
               "server-id" : "40006-40010",
               "username" : "query_binlog"
           }
       ],
       "sink" : [
           {
               "password" : "xxxx",
               "database" : "after",
               "primary_keys" : [
                   "id"
               ],
               "driver" : "com.mysql.cj.jdbc.Driver",
               "generate_sink_sql" : true,
               "plugin_name" : "jdbc",
               "user" : "as",
               "url" : "jdbc:mysql://targetip:3306/after",
               "table" : "after.test_cdc"
           }
       ]
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel.sh --config ./config/10/test_cdc
   ```
   
   
   ### Error Exception
   
   ```log
   The connector is trying to read binlog starting at 
Struct{version=1.6.4.Final,connector=mysql,name=mysql_binlog_source,ts_ms=1711351945553,db=,server_id=0,file=mysql-bin.113282,pos=43000053,row=0},
 but this is no longer available on the server. Reconfigure the connector to 
use a snapshot when needed.
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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