k8slight commented on issue #4949:
URL: https://github.com/apache/seatunnel/issues/4949#issuecomment-1598000263

   > > ```shell
   > > ```shell
   > > ./bin/seatunnel.sh -c /data/config/zeta-mysql-to-kafka-batch.conf -m 
local
   > > ```
   > 
   > Great! Please put the complete configuration here.
   
   env {
       execution.parallelism = 1
       job.mode = "BATCH"
   }
   
   source {
   
   Jdbc {
           driver = "com.mysql.cj.jdbc.Driver"
           url = 
"jdbc:mysql://node5:3306/seatunnel?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false"
           user = "********"
           password = "********"
           query = "select * from mysql_user"
       }
   
   }
   
   transform {
    
   }
   
   sink {
   
     kafka {
         topic = "mysql_user"
         bootstrap.servers = "node2:9092,node3:9092,node4:9092"
         format = json
         kafka.request.timeout.ms = 60000
         semantics = EXACTLY_ONCE
         kafka.config = {
           acks = "all"
           request.timeout.ms = 60000
           buffer.memory = 33554432
         }
     }
   
   }


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