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

   ### Search before asking
   
   - [x] I had searched in the 
[feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22)
 and found no similar feature requirement.
   
   
   ### Description
   
   
   eg.
   ```
   env {
     execution.parallelism = 4
     job.mode = "BATCH"
   }
   
   source {
     LocalFile {
       path = "/home/user/1million.csv"
       file_format_type = "csv"
       field_delimiter = ","
        skip_header_row_number = 1
       encoding = "utf-8"
       schema {
                fields {
                        sfwh = boolean        
                        create_time = "string" 
                        hm = string
                        zjhm = string
                        yearr = string
                        cylx = string      
                        level = int
         }
       }
     }
   }
   
   transform {
     sql {
       plugin_input  = "csv_source"
       plugin_output  = "processed_data"
       query = "SELECT * from csv_source"
     }
   }
   
   sink {
     Http {
       url = "http://192.168.2.131/accept";
       method = "POST"
       headers = {
         "Content-Type" = "application/json"
       }
       batch_size = 50
       plugin_input = "processed_data"
       format = "json"
       request_interval_ms = 500
     }
   }
   ```
   
   ### Usage Scenario
   
   The batch_size=50 is set for the sink, but it doesn't work  HTTP call still 
sends only one record at a time。
   What should I do?
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a 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