Couchbase Writer Activity¶
Writes specified view as Couchbase bucket.
Activity Parameters¶
Name |
Description |
Type |
Default |
---|---|---|---|
Title |
Title of the activity to display on the designer. |
text |
|
Source View |
Name of the DataRow view which is going to be written into Couchbase bucket. |
text |
|
Mode |
Write mode. Please see blow for list modes and their meanings. |
enum |
error |
As |
Target Couchbase bucket name. |
text |
|
Options |
Additional options. |
key-value |
Supported Write Modes¶
Name |
Description |
---|---|
error |
Fail if document already exists. |
overwrite |
Overwrite existing document or create new. |
ignore |
Ignore if document already exists. |
Job Parameters¶
Note
Couchbase server details are set under job additional parameters as listed below.
Key |
Value |
---|---|
spark.couchbase.nodes |
<host1:port1>;<host2:port2>;<host3:port3>;… |
com.couchbase.username |
Valid Couchbase user name. Consider using vault with templating |
com.couchbase.password |
Valid Couchbase user name. Consider using vault with templating |
com.couchbase.bucket.<bucket-name1> |
<bucket-name1> |
com.couchbase.bucket.<bucket-name2> |
<bucket-name2> |