MongoClientSettings.hosts

MongoDB hosts to try to connect to.

class MongoClientSettings
MongoHost[] hosts;

Bugs

currently only a connection to the first host is attempted, more hosts are simply ignored.

Meta