zhilinli123 commented on code in PR #5367:
URL: https://github.com/apache/seatunnel/pull/5367#discussion_r1351519798


##########
docs/en/connector-v2/sink/AmazonSqs.md:
##########
@@ -0,0 +1,46 @@
+# AmazonSqs
+
+> Amazon SQS sink connector
+
+## Support Those Engines
+
+> Spark<br/>
+> Flink<br/>
+> SeaTunnel Zeta<br/>
+
+## Description
+
+Write data to Amazon SQS
+
+## Key features
+
+- [x] [batch](../../concept/connector-v2-features.md)
+- [x] [stream](../../concept/connector-v2-features.md)
+- [x] [exactly-once](../../concept/connector-v2-features.md)
+- [ ] [column projection](../../concept/connector-v2-features.md)
+- [ ] [parallelism](../../concept/connector-v2-features.md)
+- [ ] [support user-defined split](../../concept/connector-v2-features.md)
+
+## Options
+
+|          Name           |  Type  | Required | Default |                      
                                                                                
                                                                                
                       Description                                              
                                                                                
                                                                               |
+|-------------------------|--------|----------|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| url                     | String | Yes      | -       | The Queue URL to 
read from Amazon SQS.                                                           
                                                                                
                                                                                
                                                                                
                                                                                
   |
+| region                  | String | No       | -       | The AWS region for 
the SQS service                                                                 
                                                                                
                                                                                
                                                                                
                                                                                
 |
+| format                  | String | No       | json    | Data format. The 
default format is json. Optional text format, canal-json and debezium-json.If 
you use json or text format. The default field separator is ", ". If you 
customize the delimiter, add the "field_delimiter" option.If you use canal 
format, please refer to [canal-json](../formats/canal-json.md) for details.If 
you use debezium format, please refer to 
[debezium-json](../formats/debezium-json.md) for details. |
+| format_error_handle_way | String | No       | fail    | The processing 
method of data format error. The default value is fail, and the optional value 
is (fail, skip). When fail is selected, data format error will block and an 
exception will be thrown. When skip is selected, data format error will skip 
this line data.                                                                 
                                                                                
             |
+| field_delimiter         | String | No       | ,       | Customize the field 
delimiter for data format.                                                      
                                                                                
                                                                                
                                                                                
                                                                                
|
+
+## Task Example
+
+```bash
+amazonsqs {
+    url = "http://127.0.0.1:8000";
+    region = "us-east-1"
+    queue = "queueName"
+    format = text
+    field_delimiter = "|"
+    

Review Comment:
   Delete line feed



##########
docs/en/connector-v2/source/AmazonSqs.md:
##########
@@ -0,0 +1,81 @@
+# AmazonSqs
+
+> AmazonSqs source connector
+
+## Support Those Engines
+
+> Spark<br/>
+> Flink<br/>
+> SeaTunnel Zeta<br/>
+
+## Key features

Review Comment:
   Key Features



-- 
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: commits-unsubscr...@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to