Skip to main content

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 required Properties are shown with an asterisk (*). Other properties 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 URI *mongo-uriMongoURI, typically of the form: mongodb://host1[:port1][,host2[:port2],...]

Supports Expression Language, using Environment variables.
Database UserDatabase UserDatabase user name

Supports Expression Language, using Environment variables.
PasswordPasswordThe password for the database user

Supports Expression Language, using Environment variables.
SSL Context Servicessl-context-serviceController Service:
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 Concern *mongo-write-concernACKNOWLEDGED
  • ACKNOWLEDGED
  • UNACKNOWLEDGED
  • FSYNCED
  • JOURNALED
  • REPLICA_ACKNOWLEDGED
  • MAJORITY
  • W1
  • W2
  • W3
The write concern to use

State Management

This component does not store state.

Restricted

This component is not restricted.

System Resource Considerations

This component does not specify system resource considerations.

See Also