zhilinli123 commented on issue #5952:
URL: https://github.com/apache/seatunnel/issues/5952#issuecomment-1853789158

   ```
   env {
     job.mode = "BATCH"
   }
   source {
     Jdbc {
       url = "jdbc:mysql://localhost:3306/test?serverTimezone=GMT%2b8"
       driver = "com.mysql.cj.jdbc.Driver"
       connection_check_timeout_sec = 100
       user = "root"
       password = "12345678"
   
       table_path = "test.ogg"
       #split.size = 8096
       #split.even-distribution.factor.upper-bound = 100
       #split.even-distribution.factor.lower-bound = 0.05
       #split.sample-sharding.threshold = 1000
       #split.inverse-sampling.rate = 1000
     }
   }
   
   sink {
     HdfsFile {
       fs.defaultFS = "hdfs://localhost:9000"
       path = "/user/mac/seatunnel"
   
     }
   }
   
   ```Configuring jdbc as above is itself a batch mode and there is no need to 
run it in streaming mode
    @zhaoli2333 


-- 
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