MongoDBControllerService

Description:

Provides a controller service that configures a connection to MongoDB and provides access to that connection to other Mongo-related components.

Tags:

mongo, mongodb, service

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.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Mongo URImongo-uriMongoURI, typically of the form: mongodb://host1[:port1][,host2[:port2],...]
Supports Expression Language: true (will be evaluated using Environment variables only)
Database UserDatabase UserDatabase user name
Supports Expression Language: true (will be evaluated using Environment variables only)
PasswordPasswordThe password for the database user
Sensitive Property: true
Supports Expression Language: true (will be evaluated using Environment variables only)
SSL Context Servicessl-context-serviceController Service API:
SSLContextService
Implementations: StandardRestrictedSSLContextService
StandardSSLContextService
The SSL Context Service used to provide client certificate information for TLS/SSL connections.
Client Authssl-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.
Write Concernmongo-write-concernACKNOWLEDGED
  • ACKNOWLEDGED Write operations that use this write concern will wait for acknowledgement, using the default write concern configured on the server
  • UNACKNOWLEDGED Write operations that use this write concern will return as soon as the message is written to the socket. Exceptions are raised for network issues, but not server errors
  • FSYNCED Deprecated.  Use of "JOURNALED" is preferred
  • JOURNALED Write operations wait for the server to group commit to the journal file on disk
  • REPLICA_ACKNOWLEDGED Deprecated.  Use of "W2" is preferred
  • MAJORITY Exceptions are raised for network issues, and server errors; waits on a majority of servers for the write operation
  • W1 Write operations that use this write concern will wait for acknowledgement from a single member
  • W2 Write operations that use this write concern will wait for acknowledgement from two members
  • W3 Write operations that use this write concern will wait for acknowledgement from three members
The write concern to use

State management:

This component does not store state.

Restricted:

This component is not restricted.

System Resource Considerations:

None specified.