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

   ### 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
   
   I am using SeaTunnel to capture data from SQLServer CDC into Paimon.
   When I restart the Flink job and manually insert a row into SQLServer, the 
first row is successfully captured into Paimon. However, when I insert a second 
row, it is not captured.
   
   ### SeaTunnel Version
   
   2.3.12 (Flink 1.15 starter)
   
   ### SeaTunnel Config
   
   ```conf
   env {
     parallelism = 1
     job.mode = "STREAMING"
     checkpoint.interval = 5000
   }
   
   source {
     SqlServer-CDC {
       plugin_output = "customers"
       username = "cdc_user"
       password = ""
       startup.mode = "latest"
       database-names = ["<your_database>"]
       table-names = ["<your_table>"]
       base-url = "<sqlserver_host:port>"
     }
   }
   
   transform {
   
   }
   
   sink {
     Paimon {
       catalog_name = "paimon"
       warehouse = "hdfs://10.0.0.79:9000/paimonwh/paimon"
       database = "db_paimon"
       table = "<your_table>"
       paimon.hadoop.conf = {
         hadoop_user_name = "hdfs"
         fs.defaultFS = "hdfs://10.0.0.79:9000"
       }
       paimon.table.write-props = {
         changelog-producer = input
         changelog-tmp-path = /tmp/paimon/changelog
       }
     }
   }
   ```
   
   ### Running Command
   
   ```shell
   /hip/soft/flink-1.15.1/bin/flink run \
     -Dclassloader.resolve-order=parent-first \
     -c org.apache.seatunnel.core.starter.flink.SeaTunnelFlink \
     
/hip/soft/seatunnel/apache-seatunnel-2.3.12/starter/seatunnel-flink-15-starter.jar
 \
     --config 
/hip/soft/seatunnel/apache-seatunnel-2.3.12/config/sqlserver.2.paimon.template \
     --name test
   ```
   
   ### Error Exception
   
   ```log
   No explicit error is thrown. The second inserted record in SQLServer simply 
does not appear in Paimon. Only the first insert after job restart is captured.
   ```
   
   ### Zeta or 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