Here is the requirement from the customer.
Our Mongo Environment has multiple listeners. How do we configure so that the driver can talk any of the listener which is active ?
Like say 1 listener can be termed as Primary node, 2nd listener can be termed as Secondary node. etc.. Currently we have 2 nodes in one of the test environment.
Is there any capability to specify reading from the secondary node somewhere in the driver ?
The native mongo drivers provide a capability to automatically route read queries to the secondary node (in a cluster) by providing a parameter in the connection string.
Do we have something similar to that in the Datadirect JDBC Driver ?
We have raised a support case for the same and were asked to raise enhancement request.