Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2611

Implement Initial DNS Seedlist discovery spec

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0
    • Affects Version/s: None
    • Component/s: Cluster Management
    • None

      Implementation note: While the specification allows a driver to block on I/O in a MongoClient or MongoClientURI constructor, that's likely not a good option for the Java driver. Blocking in constructors or factory methods is unfriendly to IOC containers like Spring and should be avoided. However, it's not clear exactly how the Java driver should do this. The problem is that MongoClientURI has a method #getClientOptions which is supposed to provide the final immutable options for a MongoClient. But the spec requires that options are also read from a DNS TXT record, which is blocking.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            rathi.gnanasekaran Rathi Gnanasekaran
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: