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

   ### 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
   
   Testing to use the Mysql-cdc module for incremental loading.
   However, it seems that 'stop.mode' does not work normally.
   
   The start position of the bin log was set to 'start.mode', and the end 
position was set to 'stop.mode'.
   However, even though the binlog location specified in stop.mode has passed, 
the job does not end and continues.
   
   ### SeaTunnel Version
   
   2.3.4
   
   ### SeaTunnel Config
   
   ```conf
   env {
     job.mode = "STREAMING"
     checkpoint.interval = 20000
   }
   
   source {
      MySQL-CDC {
       parallelism = 1
       server-id = 5656
       username = "test"
       password = "test"
       table-names = ["cdc.cdc_full_columns"]
       base-url = "jdbc:mysql://localhost:3306/cdc"
       format = "compatible_debezium_json"
       debezium = {
           key.converter.schemas.enable = false
           value.converter.schemas.enable = false
           include.schema.changes = true
           database.server.name =  "mysql_cdc_1"
       }
       startup.mode = "specific"
       startup.specific-offset.file = "mysql-bin.000003"
       startup.specific-offset.pos = "5372"
       stop.mode = "specific"
       stop.specific-offset.file = "mysql-bin.000003"
       stop.specific-offset.pos = "8070"
       
     }
   }
   
   sink {
     Console {
     }
   
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel.sh --config ./config/v2.streaming.conf.template
   ```
   
   
   ### Error Exception
   
   ```log
   no error. 
   It does not end even after reaching the position designated as 'stop.mode'.
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   zeta
   
   ### Java or Scala Version
   
   java 1.8
   
   ### Screenshots
   
   
![image](https://github.com/apache/seatunnel/assets/149659122/d54bf9dd-60bc-4a98-8d85-9934f0375560)
   
   
   ### 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