<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:53:58 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-1179] In order to build a tailable cursor, allow to add flags on MongoView</title>
                <link>https://jira.mongodb.org/browse/JAVA-1179</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;I&apos;m currently trying new async method of the new mongodb java driver.&lt;/p&gt;

&lt;p&gt;Looking at the code, it&apos;s not possible to set &quot;flags&quot; on find query throught mongo collection as Find#addFlags is not expoted in the MongoView&lt;/p&gt;

{code=java}
&lt;p&gt;collection.find().withFlags(Tailable&amp;amp; AwaitData).asyncForEach(...);&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;the idea is to build a tailable cursor as in Reactive Mongo scala driver (see &lt;a href=&quot;https://github.com/sgodbillon/reactivemongo-tailablecursor-demo&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/sgodbillon/reactivemongo-tailablecursor-demo&lt;/a&gt; )&lt;/p&gt;

&lt;p&gt;Is it something that you plan to introduce in the 3.0.0 driver ? &lt;br/&gt;
If not, there is a way to achieve this ? &lt;/p&gt;

&lt;p&gt;Regards&lt;/p&gt;</description>
                <environment></environment>
        <key id="133247">JAVA-1179</key>
            <summary>In order to build a tailable cursor, allow to add flags on MongoView</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="dwursteisen">Wursteisen David</reporter>
                        <labels>
                            <label>driver</label>
                            <label>java</label>
                            <label>tailable-cursor</label>
                    </labels>
                <created>Thu, 24 Apr 2014 23:12:03 +0000</created>
                <updated>Thu, 31 Jul 2014 14:40:44 +0000</updated>
                            <resolved>Thu, 31 Jul 2014 14:40:16 +0000</resolved>
                                    <version>3.0.0</version>
                                    <fixVersion>3.0.0</fixVersion>
                                    <component>API</component>
                    <component>Async</component>
                    <component>Query Operations</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="677566" author="ross@10gen.com" created="Thu, 31 Jul 2014 14:40:16 +0000"  >&lt;p&gt;See: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1326&quot; title=&quot;Introduce API for tailable cursors that doesn&amp;#39;t break Iterator contract&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1326&quot;&gt;&lt;del&gt;JAVA-1326&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="562375" author="jeff.yemin" created="Thu, 24 Apr 2014 23:55:40 +0000"  >&lt;p&gt;Yes, we will be introducing this functionality.  I&apos;ll keep this ticket open to track it.&lt;/p&gt;

&lt;p&gt;Thanks for pointing it out.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="150232">JAVA-1326</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|hrg9wn:</customfieldvalue>

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