EricJoy2048 commented on code in PR #3625:
URL:
https://github.com/apache/incubator-seatunnel/pull/3625#discussion_r1039613754
##########
docs/en/connector-v2/sink/FtpFile.md:
##########
@@ -127,6 +128,10 @@ Please note that, If `is_enable_transaction` is `true`, we
will auto add `${tran
Only support `true` now.
+### batch_size [int]
+
+Write a file for every number of pieces of data
Review Comment:
We need let user know `batch_size` is the maximum number of rows in a file.
For SeaTunnel Engine, The number of lines in the file is determined by
`batch_size` and `checkpoint.interval` jointly decide. If the value of
`checkpoint.interval` is large enough, sink writer will write rows in a file
until the rows in the file large than `batch_size`. If `checkpoint.interval` is
small, the sink writer will create a new file when a new checkpoint trigger.
--
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]