Connections > MongoDB V2 connection properties > Additional connection properties
  

Additional connection properties

When you run a mapping in advanced mode, you can configure additional options in a MongoDB V2 connection.

Sampling properties

Configure sampling properties in the Additional Properties field:
samplesize
The number of documents to scan to infer the schema from the MongoDB source.
For example, samplesize=100.
Default is 100.
samplemethod
The method to sample documents to infer the schema from the MongoDB source.
You can specify one of the following methods:

Other properties

Configure additional connection properties in the Additional Properties field to connect to non-SSL MongoDB deployments:
ssl
Determines if the connection uses SSL or non-SSL.
Set this parameter to false in the connection properties to connect to MongoDB deployments that do not use SSL.
Default is true.
authsource
Allows you to provide the database name against which you can authenticate user credentials.
For example, authsource=testadmin.
Default is admin.

Amazon DocumentDB optional properties

Configure additional connection properties in the Additional Properties field to connect to Amazon DocumentDB:
ssltruststorefilepath
The absolute path of the truststore file in the Secure Agent machine that contains the keys and certificates required to establish a secure communication.
For example, ssltruststorefilepath= <path_of_truststore_file>
For the serverless runtime environment, specify the following certificate path to the serverless agent directory:
/home/cldagnt/SystemAgent/serverless/configurations/ssl_store/<truststore_filename>
For more information, see Configure SSL for the serverless runtime environment.
ssltruststorepassword
The password for the truststore file required for secure communication.
For example, ssltruststorepassword=<password>.