<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:57:31 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[JAVA-2551] Make it easier to switch between sync &amp; async drivers</title>
                <link>https://jira.mongodb.org/browse/JAVA-2551</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Currently the sync and async drivers are completely separate to each other - they use different types, different packages, even different ways of creating clients (sync uses &lt;tt&gt;MongoClientOptions&lt;/tt&gt; and individual parameters, async uses &lt;tt&gt;ConnectionString&lt;/tt&gt; and &lt;tt&gt;MongoClientSettings&lt;/tt&gt;).&lt;/p&gt;

&lt;p&gt;This makes it really hard to use sync &amp;amp; async APIs together - if you want to do some operations sync and some async, for example.&lt;/p&gt;

&lt;p&gt;It should be much easier to move between sync &amp;amp; async APIs, given the same client, database, or collection objects (&lt;tt&gt;MongoDatabase.asSync()/MongoDatabase.asAsync()&lt;/tt&gt;)&lt;/p&gt;

&lt;p&gt;If not, at least consolidate how you create sync and async &lt;tt&gt;MongoClient&lt;/tt&gt; objects so you can use the same representation of a connection &amp;amp; client options.&lt;/p&gt;</description>
                <environment></environment>
        <key id="402207">JAVA-2551</key>
            <summary>Make it easier to switch between sync &amp; async drivers</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="thecoop1984">Simon Cooper</reporter>
                        <labels>
                    </labels>
                <created>Mon, 10 Jul 2017 16:40:46 +0000</created>
                <updated>Mon, 28 Jan 2019 17:26:44 +0000</updated>
                            <resolved>Mon, 28 Jan 2019 17:26:44 +0000</resolved>
                                                                    <component>API</component>
                    <component>Async</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2129475" author="jeff.yemin" created="Mon, 28 Jan 2019 17:26:44 +0000"  >&lt;p&gt;We&apos;ve decided not to go any further integrating the sync and async stacks.  As it is now, the &lt;tt&gt;MongoClientSettings&lt;/tt&gt; can be shared.  Applications will have to continue managing separate &lt;tt&gt;MongoClient&lt;/tt&gt; instances for sync and async.&lt;/p&gt;</comment>
                            <comment id="1881532" author="jeff.yemin" created="Thu, 3 May 2018 13:27:05 +0000"  >&lt;p&gt;In 3.7.0, we introduced the &lt;tt&gt;com.mongodb.MongoClientSettings&lt;/tt&gt; class, a &lt;tt&gt;com.mongodb.client.MongoClients&lt;/tt&gt; entry point that accepts the new &lt;tt&gt;MongoClientSettings&lt;/tt&gt;,  and new methods on &lt;tt&gt;com.mongodb.async.client.MongoClients&lt;/tt&gt; that accept the new &lt;tt&gt;MongoClientSettings&lt;/tt&gt; class.&lt;/p&gt;
</comment>
                            <comment id="1791087" author="jeff.yemin" created="Wed, 31 Jan 2018 20:19:58 +0000"  >&lt;p&gt;The first step of this is being done in scope of &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2166&quot; title=&quot;Make it easier to mix ConnectionString settings with MongoClientSettings&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2166&quot;&gt;&lt;del&gt;JAVA-2166&lt;/del&gt;&lt;/a&gt;.  Once that&apos;s done we can consider adding the ability to use the new com.mongodb.com.MongoClientSettings in both the sync and async drivers.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="277120">JAVA-2166</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|ht2icv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>