<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:02:15 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-4506] Allow specification of outgoing address</title>
                <link>https://jira.mongodb.org/browse/JAVA-4506</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;While I can define to which mongodb I want to connect, there is currently no way to define from which IP address I want to establish the connection.&lt;/p&gt;

&lt;p&gt;It would be good to be able to define (either directly via parameter of the MongoClient constructor or within the MongoClientOptions) to which local IP the connection should bind to.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1987010">JAVA-4506</key>
            <summary>Allow specification of outgoing address</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="13203">Gone away</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="michaelbaulandknipp@gmail.com">Michael Bauland</reporter>
                        <labels>
                            <label>external-user</label>
                    </labels>
                <created>Mon, 21 Feb 2022 07:34:32 +0000</created>
                <updated>Fri, 27 Oct 2023 19:48:31 +0000</updated>
                            <resolved>Wed, 16 Mar 2022 12:00:18 +0000</resolved>
                                                                    <component>Configuration</component>
                    <component>Connection Management</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="4415212" author="dbeng-pm-bot" created="Wed, 16 Mar 2022 12:00:20 +0000"  >&lt;p&gt;There hasn&apos;t been any recent activity on this ticket, so we&apos;re resolving it. Thanks for reaching out! Please feel free to comment on this if you&apos;re able to provide more information.&lt;/p&gt;</comment>
                            <comment id="4384084" author="jeff.yemin" created="Tue, 1 Mar 2022 17:47:44 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=michaelbaulandknipp%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;michaelbaulandknipp@gmail.com&quot;&gt;michaelbaulandknipp@gmail.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I see that the Java Socket API supports this but the driver does not expose the configuration options necessary to take advantage of that API.  In fact, none of our MongoDB drivers in any language support this, and this is the first request we&apos;ve ever had for this feature.  We are not inclined to implement it until we get signal that this is a more generally useful feature.&lt;/p&gt;

&lt;p&gt;Given that you&apos;re the first to ask for this configuration, it seems reasonable to figure out why that is.  Maybe you&apos;re doing something that is quite unusual, and there are alternative solutions you could implement outside of the driver that would solve the problem for you.&lt;/p&gt;

&lt;p&gt;My colleague &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=james.kovacs&quot; class=&quot;user-hover&quot; rel=&quot;james.kovacs&quot;&gt;james.kovacs&lt;/a&gt; wrote this to me when I asked him about it:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Typically when you&#8217;ve got multiple NICs, you&#8217;re in one of two situations:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;One NIC is internal, one external. It&#8217;s quite obvious which one is needed to reach a particular destination IP.&lt;/li&gt;
	&lt;li&gt;Multiple NICs are load balancing for higher throughput. All NICs can see all destination IPs and you want to round-robin between them. You let the OS take care of that.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;It&#8217;s an odd setup to have multiple NICs that can all route to a particular CIDR block, but you firewall some of them and must use particular ones for traffic.&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="4366347" author="stennie" created="Mon, 21 Feb 2022 09:47:10 +0000"  >&lt;p&gt;Related discussion in the Community Forums:&#160;&lt;a href=&quot;https://www.mongodb.com/community/forums/t/how-to-specify-an-outgoing-address-in-java-mongoclient/147950?u=stennie&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/community/forums/t/how-to-specify-an-outgoing-address-in-java-mongoclient/147950?u=stennie&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <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|i03v4v:</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>