Description:
Creates FlowFiles from documents in MongoDB
Tags:
mongodb, read, get
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, whether a property supports the Expression Language Guide.
Name | Default Value | Allowable Values | Description |
Mongo URI |
MongoURI, 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: StandardRestrictedSSLContextService |
</td>
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. |
JSON Type |
Extended |
* Extended JSON * Standard JSON |
By default, MongoDB's Java driver returns "extended JSON". Some of the features of this variant of JSON may cause problems for other JSON parsers that expect only standard JSON types and conventions. This configuration setting controls whether to use extended JSON or provide a clean view that conforms to standard JSON. |
Query |
The selection criteria; must be a valid MongoDB Extended JSON format; if omitted the entire collection will be queried Supports Expression Language: true |
</td>
||
Projection |
The fields to be returned from the documents in the result set; must be a valid BSON document Supports Expression Language: true |
||
Sort |
The fields by which to sort; must be a valid BSON document Supports Expression Language: true |
||
Limit |
The maximum number of elements to return Supports Expression Language: true |
||
Batch Size |
The number of elements returned from the server in one batch Supports Expression Language: true |
||
Results Per FlowFile |
How many results to put into a flowfile at once. The whole body will be treated as a JSON array of results. Supports Expression Language: true |
</td>
||
SSL Context Service |
Controller Service API: SSLContextService Implementations: StandardRestrictedSSLContextService |
</td>
The SSL Context Service used to provide client certificate information for TLS/SSL connections. | |
Client Auth | REQUIRED | 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. |
Relationships:
Name | Description |
success | All files are routed to success |
Reads Attributes:
None specified.
Writes Attributes:
None specified.
State management:
This component does not store state.
Restricted:
This component is not restricted.
Input requirement:
This component does not allow an incoming relationship.