Configuration

The following table describes the fields in the Configuration panel:

Field Module Property? Description
PlainURL Yes Select this check box if you want to manually enter the URL for the server.
ConnectionURL Yes Enter the URL for the server which the plug-in connects to. Available only when the PlainURL check box is selected. The default value is
mongodb://localhost:27017/?connectTimeoutMS=10000&socketTimeoutMS=0&waitQueueTimeoutMS=120000&maxPoolSize=100
HostPort Yes Specify the net address and connection port of the MongoDB server. The default value is localhost:27017.
DatabaseName Yes Enter the name for the database which you want to connect to. The default value is databaseName.
ConnectTimeout(milliseconds) Yes Specify the maximum amount of time that a MongoDB driver waits for a connection to be established with a MongoDB server. The default value is 10000.
SocketTimeout(milliseconds) Yes Specify the maximum amount of time that a socket waits for a message sent by the server or the plug-in. The default value is 0.
Server Select Timeout(milliseconds) Yes Specifies how long the driver will wait for server selection to succeed before throwing an exception. Default is 30000 milliseconds. A value of 0 means that it will timeout immediately. For value 0 the test connection will timeout immediately irrespective of whether the server is available or not. If no value is provided in this field then it will take last value provided.
MaxWaitTime(milliseconds) Yes Specify the maximum amount of time that a thread waits for a socket from the connection pool. The default value is 120000.
MaxPoolSize Yes Specify the maximum number of connections in the connection pool. The default value is 100.