GetMongo

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.

NameDefault ValueAllowable ValuesDescription
Mongo URIMongoURI, typically of the form: mongodb://host1[:port1][,host2[:port2],...]
Mongo Database NameThe name of the database to use
Mongo Collection NameThe name of the collection to use
SSL Context ServiceController Service API:
SSLContextService
Implementation:StandardSSLContextService
The SSL Context Service used to provide client certificate information for TLS/SSL connections.
Client AuthREQUIRED
  • 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.
QueryThe selection criteria; must be a valid MongoDB Extended JSON format; if omitted the entire collection will be queried
ProjectionThe fields to be returned from the documents in the result set; must be a valid BSON document
SortThe fields by which to sort; must be a valid BSON document
LimitThe maximum number of elements to return
Batch SizeThe number of elements returned from the server in one batch
SSL Context ServiceController Service API:
SSLContextService
Implementation:StandardSSLContextService
The SSL Context Service used to provide client certificate information for TLS/SSL connections.
Client AuthREQUIRED
  • 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.

Relationships:

NameDescription
successAll 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.