wuchunfu commented on a change in pull request #1105:
URL: 
https://github.com/apache/incubator-seatunnel/pull/1105#discussion_r788386603



##########
File path: docs/en/spark/configuration/sink-plugins/MongoDB.md
##########
@@ -0,0 +1,41 @@
+# Sink plugin : MongoDB [Spark]
+
+## Description
+
+Write data to `MongoDB`
+
+## Options
+
+| name                   | type   | required | default value |
+| ---------------------- | ------ | -------- | ------------- |
+| writeconfig.uri        | string | yes      | -             |
+| writeconfig.database   | string | yes      | -             |
+| writeconfig.collection | string | yes      | -             |
+| common-options         | string | no       |               |
+
+### writeconfig.uri [string]
+
+uri to write to mongoDB
+
+### writeconfig.database [string]
+
+database to write to mongoDB
+
+### readconfig.collection [string]
+
+collection to write to mongoDB
+
+### common options [string]
+
+Sink plugin common parameters, please refer to [Sink Plugin](./sink-plugin.md) 
for details
+
+## Examples
+
+```bash
+mongodb {
+    writeconfig.uri = "mongodb://username:[email protected]:27017/test_db"
+    writeconfig.database = "test_db"
+    writeconfig.collection = "test_collection"
+    result_table_name = "mongodb_result_table"

Review comment:
       ok, I will fix it.




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