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

Implement Initial DNS Seedlist discovery spec

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.6.0
    • None
    • Cluster Management
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: