ocean-zhc commented on code in PR #9292:
URL: https://github.com/apache/seatunnel/pull/9292#discussion_r2080871217


##########
docs/en/connector-v2/sink/Http.md:
##########
@@ -44,6 +44,10 @@ They can be downloaded via install-plugin.sh or from the 
Maven central repositor
 | retry_backoff_max_ms        | Int    | No       | 10000   | The maximum 
retry-backoff times(millis) if request http failed                              
                |
 | connect_timeout_ms          | Int    | No       | 12000   | Connection 
timeout setting, default 12s.                                                   
                 |
 | socket_timeout_ms           | Int    | No       | 60000   | Socket timeout 
setting, default 60s.                                                           
             |
+| array_mode                  | Boolean| No       | false   | Send data as a 
JSON array when true, or as a single JSON object when false (default)           
             |
+| batch_size                  | Int    | No       | 1       | The batch size 
of records to send in one HTTP request. Only works when array_mode is true.     
             |
+| request_interval_ms         | Int    | No       | 0       | The interval 
milliseconds between two HTTP requests, to avoid sending requests too 
frequently.              |
+| format                      | String | No       | json    | The format of 
batch data. Currently only "json" is supported, which will send data as JSON 
array.           |

Review Comment:
   Currently think of just json, later expansion, the code can be modified to 
enumerate the judgment can be



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