Description:

Provides a lookup service based around MongoDB. Each key that is specified will be added to a query as-is. For example, if you specify the two keys, user and email, the resulting query will be {“user”: “tester”, “email”: “tester@test.com” }. The query is limited to the first result (findOne in the Mongo documentation). If no “Lookup Value Field” is specified then the entire MongoDB result document minus the _id field will be returned as a record.

Tags:

mongo, MongoDB, lookup, record

Properties:

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.

Name

Default Value

Allowable Values

Description

Mongo URI

Mongo URI, typically of the form: MongoDB://host1[: port1][,host2[:port2],...]

Supports Expression Language: true


Mongo Database Name

The name of the database to use

Supports Expression Language: true


Mongo Collection Name

The name of the collection to use

Supports Expression Language: true


SSL Context Service

Controller Service API: 


SSLContextService

Implementations:


StandardSSLContextService
StandardRestrictedSSLContextService
The SSL Context Service used to provide client certificate information for TLS/SSL connections.
Client Auth REQUIRED * WANT
* REQUIRED
* NONE
Client authentication policy when connecting to secure (TLS/SSL) cluster. Possible values are REQUIRED, WANT, NONE. This property is only used when an SSL Context has been defined and enabled.
Lookup Value Field The field whose value will be returned when the lookup key(s) match a record. If not specified then the entire MongoDB result document minus the _id field will be returned as a record.

State management:

This component does not store state.

Restricted:

This component is not restricted.