Connections > MongoDB connection properties
  

MongoDB connection properties

When you set up a MongoDB connection, configure the connection properties.
The following table describes the MongoDB connection properties:
Property
Description
Connection Name
Name of the connection.
Each connection name must be unique within the organization. Connection names can contain alphanumeric characters, spaces, and the following special characters: _ . + -,
Maximum length is 255 characters.
Description
Description of the connection. Maximum length is 4000 characters.
Type
The MongoDB connection type.
Runtime Environment
Name of the runtime environment where you want to run the tasks.
Specify a Secure Agent, Hosted Agent, or serverless runtime environment.
Host Name*
Host name or IP address of the MongoDB server.
Port*
MongoDB server port number. Default is 27017.
User Name*
User name to access the MongoDB server.
Password*
Password corresponding to the user name to access the MongoDB server.
Database Name
Name of the MongoDB database to connect to.
Additional Connection Properties
The JDBC connection parameters required in a MongoDB connection.
Enter one or more JDBC connection parameters in the following format:
<param1>=<value>&<param2>=<value>&<param3>=<value>
Provide the JDBC parameters as ampersand-separated key-value pairs.
Configure the following JDBC connection parameters in a MongoDB connection:
  • - AuthSource
  • - BatchSize
  • - connectTimeoutMS
  • - DefaultStringColumnLength
  • - DmlBatchSize
  • - EnableDoubleBuffer
  • - EnableTransaction
  • - LogLevel
  • - LogPath
  • - SamplingLimit
  • - SamplingStepSize
  • - SamplingStrategy
For example,
DefaultStringColumnLength=512&DmlBatchSize=1000&
EnableDoubleBuffer=false&EnableTransaction=true&
SamplingLimit=200&SamplingStepSize=2&SamplingStrategy=Backwards
SSL Mode
SSL mode indicates the encryption type to use for the connection.
SSL is not applicable when you use the Hosted Agent. You can configure SSL when you use the Secure Agent or the serverless runtime environment.
Note: Set it to Required for connecting to MongoDB Atlas.
SSL Truststore Path
Not applicable for MongoDB Connector.
SSL Truststore Password
Not applicable for MongoDB Connector.
*If you specify the host name, port, user name, and password of the MongoDB server in the connection properties and also in the additional connection properties field, the values in the additional connection properties take precedence.
For more information about configuring the MongoDB JDBC connection parameters, see the Informatica How-To Library article, "Configuring the Simba MongoDB JDBC Driver Options for MongoDB Connector":
https://docs.informatica.com/integration-cloud/cloud-data-integration-connectors/h2l/configuring-the-simba-mongodb-jdbc-driver-options-for-mongodb-co/abstract.html