PlainURL
|
Yes
|
Select this check box to manually enter the URL for the server.
|
ConnectionURL
|
Yes
|
Enter the server URL to which the plug-in connects.
Condition:
Available only when the
PlainURL check box is selected
Default value:
mongodb://localhost:27017/?connectTimeoutMS=10000&socketTimeoutMS=0&waitQueueTimeoutMS=120000&maxPoolSize=100
The default value is for an on-premises setup. To connect to the MongoDB Atlas database, you can change it to the SRV record URL.
Example SRV record URL:
mongodb+srv://<Cluster URL>/
Note: If you enter the SRV record URL, then on the
Security tab, you must select the credential type as
SHA Credential.
|
SRV Record
|
Yes
|
Select this check box to use MongoDB Atlas.
Note: If you select the SRV Record check box, then on the
Security tab, you must select the credential type as
SHA Credential.
|
HostPort
|
Yes
|
Specify the host and connection port for the MongoDB server.
Default value:
localhost:27017
|
DatabaseName
|
Yes
|
Specify the database that you want to connect to.
Default value:
databaseName
|
ConnectTimeout(milliseconds)
|
Yes
|
Specify the maximum duration for which a MongoDB driver waits for a connection to be established with a MongoDB server.
Default value:
10000 milliseconds
|
SocketTimeout(milliseconds)
|
Yes
|
Specify the maximum duration for which a socket waits for a message sent by the server or the plug-in.
Default value:
0 milliseconds
|
Server Select Timeout(milliseconds)
|
Yes
|
Specify the duration for which the driver waits for server selection to succeed before throwing an exception.
- Default value: 30000 milliseconds
-
0: If the value is 0, the test connection times out immediately, irrespective of whether the server is available.
- After clearing a manually entered value: In this field, if you delete a manually entered value and then leave the field blank, the last value specified before clearing the field is displayed as the field value.
|
MaxWaitTime(milliseconds)
|
Yes
|
Specify the maximum duration for which a thread waits for a socket from the connection pool.
Default value:
120000 milliseconds
|
MaxPoolSize
|
Yes
|
Specify the maximum number of connections in the connection pool.
Default value:
100
|