Generics - MongoDB Connector
Search form
Description - A generic for configuring the MongoDB connector.
Parameter Groups
| Parameter | Type | Description | |
|---|---|---|---|
| * | Host: | string | A server address to connect to. It identifies either a hostname, IP address, or UNIX domain socket. |
| * | Port: | integer | The TCP port of the MongoDB server |
* - denotes required
| Parameter | Type | Description | |
|---|---|---|---|
| Username: | string | Name of the user. | |
| Password: | password | Password that will be used for authentication. | |
| * | Database Name: | string | The name of the database to authenticate. |
| Timeout: | integer | Sets the connection timeout, in milliseconds (default is 10,000) |
* - denotes required
| Parameter | Type | Description | |
|---|---|---|---|
| Max Life Time: | integer | Sets the maximum life time for a pooled connection in milliseconds, which must be > 0 | |
| Max Idle Time: | integer | Sets the maximum idle time for a pooled connection in milliseconds, which must be > 0 | |
| Max Wait Time: | integer | Sets the maximum time that a thread will block waiting for a connection in milliseconds | |
| Max Connections: | integer | Sets the maximum number of connections per host | |
| Min Connections: | integer | Sets the minimum number of connections per host |
* - denotes required
| Parameter | Type | Description | |
|---|---|---|---|
| Max Wait Time: | integer | The server selection timeout, in milliseconds (default is 30,000) | |
| Socket Timeout: | integer | Sets the socket timeout, in milliseconds (default is 0 and means no timeout) |