Writes the contents of a FlowFile to MongoDB as bulk-update
mongodb, insert, update, write, put, bulk
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
| Display Name | API Name | Default Value | Allowable Values | Description |
|---|---|---|---|---|
| Client Service | mongo-client-service | Controller Service API: MongoDBClientService Implementation: MongoDBControllerService | If configured, this property will use the assigned client service for connection pooling. | |
| Mongo Database Name | Mongo Database Name | The name of the database to use Supports Expression Language: true (will be evaluated using flow file attributes and Environment variables) | ||
| Mongo Collection Name | Mongo Collection Name | The name of the collection to use Supports Expression Language: true (will be evaluated using flow file attributes and Environment variables) | ||
| Ordered | Ordered | true |
| Ordered execution of bulk-writes and break on error - otherwise arbitrary order and continue on error |
| Character Set | Character Set | UTF-8 | The Character Set in which the data is encoded |
| Name | Description |
|---|---|
| success | All FlowFiles that are written to MongoDB are routed to this relationship |
| failure | All FlowFiles that cannot be written to MongoDB are routed to this relationship |
| Resource | Description |
|---|---|
| MEMORY | An instance of this component can cause high usage of this system resource. Multiple instances or high concurrency settings may result a degradation of performance. |