When connecting to MongoDB, the Java API includes the MongoClient API which takes in MongoClientOptions built with the MongoClientOptions.Builder. This API includes an option for KeepAlive.
http://api.mongodb.org/java/2.11.1/com/mongodb/MongoClientOptions.Builder.html
>> This flag controls the socket keep alive feature that keeps a connection alive through firewalls Socket.setKeepAlive(boolean)
Default is false.
We may need a parameter for this for any firewall connection drop issues as we have experienced with other users/database vendors.
|
45 KB
Lets add:
maxAutoConnectRetryTime
maxWaitTime
socketKeepAlive
If maxAutoConnectRetryTime
option has to be added as JDBC driver parameter, then the autoConnectRetry
option should be added too, right?
If maxAutoConnectRetryTime
option has to be added as JDBC driver parameter, then the autoConnectRetry
option should be added too, right?
I didn't specify autoConnectRetry because it already shows up under the Drivers tab. See attached screenshot.
I didn't specify autoConnectRetry because it already shows up under the Drivers tab. See attached screenshot.
You're right, I've missed that this JDBC parameter already exists.
You're right, I've missed that this JDBC parameter already exists.
Added these three JDBC parameters:
Added these three JDBC parameters:
Issue #8731 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build mongo-jdbc 1.1.3 |
No time estimate |
Lets add:
maxAutoConnectRetryTime
maxWaitTime
socketKeepAlive