wuchunfu commented on a change in pull request #1059:
URL:
https://github.com/apache/incubator-seatunnel/pull/1059#discussion_r791241290
##########
File path: docs/en/spark/configuration/sink-plugins/Cassandra.md
##########
@@ -0,0 +1,59 @@
+# Sink plugin: Cassandra
+
+### Description
+
+Write data into Cassandra.
+
+### Env
+| name | type | required | default value |
+| -------------- | ------ | -------- | ------------- |
+| [spark.cassandra.connection.host](#spark.cassandra.connection.host-string)
| string | yes | - |
+
+##### spark.cassandra.connection.host [string]
+
+Cassandra connection host
+
+##### other
+
+Refer to
[spark-cassandra-connector-options](https://github.com/datastax/spark-cassandra-connector/blob/b2.4/doc/reference.md)
for configurations.
+
+### Options
+
+| name | type | required | default value |
+| -------------- | ------ | -------- | ------------- |
+| [table](#table-string) | string | yes | - |
+| [keyspace](#keyspace-string) | string | yes | - |
+| [cluster](#cluster-string) | string | no | default |
+| [confirm.truncate](#confirm.truncate-string) | string | no | false
|
+| [save.mode](#save.mode-string) | string | no | append
|
+
+##### table [string]
+
+The Cassandra table to connect to
+
+##### keyspace [string]
+
+The keyspace where table is looked for
+
+##### cluster [string]
+
+The group of the Cluster Level Settings to inherit
+
+##### confirm.truncate [string]
+
+Confirm to truncate table when use Save.overwrite mode
+
+##### save.mode [string]
+
+Save mode
+
+### Example
+
+```bash
+cassandra {
+ table = "t2"
+ keyspace = "excelsior"
+ result_table_name = "test"
+}
Review comment:
`sink` does not need `result_table_name` , please check, thanks
--
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]