EricJoy2048 commented on code in PR #5101:
URL: https://github.com/apache/seatunnel/pull/5101#discussion_r1289577033
##########
docs/en/connector-v2/sink/S3File.md:
##########
@@ -208,6 +242,70 @@ Writer the sheet of the workbook
## Example
+### Simple:
+
+> This example defines a SeaTunnel synchronization task that automatically
generates data through FakeSource and sends it to S3File Sink. FakeSource
generates a total of 16 rows of data (row.num=16), with each row having two
fields, name (string type) and age (int type). The final target s3 dir will
also create a file and all of the data in write in it.
+> Before run this job, you need create s3 path: /seatunnel/text. And if you
have not yet installed and deployed SeaTunnel, you need to follow the
instructions in [Install SeaTunnel](../../start-v2/locally/deployment.md) to
install and deploy SeaTunnel. And then follow the instructions in [Quick Start
With SeaTunnel Engine](../../start-v2/locally/quick-start-seatunnel-engine.md)
to run this job.
+
+```
+# Defining the runtime environment
+env {
+ # You can set flink configuration here
+ execution.parallelism = 1
+ job.mode = "BATCH"
+}
+
+source {
+ # This is a example source plugin **only for test and demonstrate the
feature source plugin**
+ FakeSource {
+ parallelism = 1
+ result_table_name = "fake"
+ row.num = 16
+ schema = {
+ fields {
Review Comment:
done
--
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]