MongoDB

MongoDB database data sink

Properties

Properties supported in this sink are shown below ( * indicates required fields )
Property
Description
Name *
Name of the data sink
Description
Description of the data sink
Processing Mode
Select for batch and un-select for streaming. If 'Batch' is selected the value of the switch is set to true. If 'Streaming' is selected the value of the switch is set to false.Default: true
Connection *
Pre-defined MongoDB connection
Database *
Database to connectExample: customerdb
Collection *
Collection data to fetchExample: products
Select Fields / Columns
Comma separated list of fields / columns to select from inputs to the sinkExample: id, name, city, state, zipDefault: *
Maximum Batch Size
Specifies the maximum number of operations to batch in bulk operationsExample: 1,024Default: 512
Ordered
Specifies whether to perform ordered bulk operationsDefault: true
Operation Type
Specifies the type of write operation to performtDefault: replace
Write Concern W
Specifies w, a write concern option to acknowledge the level to which the change propagated in the MongoDB replica setDefault: ACKNOWLEDGED
Write Concern J
Specifies j, a write concern option to enable request for acknowledgment that the data is confirmed on on-disk journal for the criteria specified in the w option