<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:05:33 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>[KAFKA-87] UpdateOneStrategy</title>
                <link>https://jira.mongodb.org/browse/KAFKA-87</link>
                <project id="16285" key="KAFKA">Kafka Connector</project>
                    <description>&lt;p&gt;Add a new custom WriteModelStrategy that expects an upsert command and supports all update operators ($push, $pull, $addToSet, etc.): &lt;a href=&quot;https://docs.mongodb.com/manual/reference/operator/update/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/reference/operator/update/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1149699">KAFKA-87</key>
            <summary>UpdateOneStrategy</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="angel.martinez@mongodb.com">&#193;ngel Mart&#237;nez</reporter>
                        <labels>
                    </labels>
                <created>Fri, 14 Feb 2020 15:02:06 +0000</created>
                <updated>Tue, 29 Sep 2020 08:23:36 +0000</updated>
                            <resolved>Tue, 29 Sep 2020 08:23:36 +0000</resolved>
                                    <version>1.1</version>
                    <version>1.0.1</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3415626" author="ross@10gen.com" created="Tue, 29 Sep 2020 08:23:36 +0000"  >&lt;p&gt;The issue is there&apos;s no clear way to understand how / when to use specific update operators without some existing knowledge of the data.&lt;/p&gt;

&lt;p&gt;I can&apos;t see how this would be configured, so closing as won&apos;t fix.  Users would have to implement their own custom logic / WriteModelStrategy to achieve this aim.&lt;/p&gt;

&lt;p&gt;Happy to reopen and review if there is something I&apos;ve missed.&lt;/p&gt;</comment>
                            <comment id="2878453" author="ross@10gen.com" created="Fri, 14 Feb 2020 15:22:38 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=angel.martinez&quot; class=&quot;user-hover&quot; rel=&quot;angel.martinez&quot;&gt;angel.martinez&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;The complication is being able to describe the operation via configuration and documentation.  If you can provide an example of the operation you&apos;d like to see and how you could configure that via json, that would be super helpful.&lt;/p&gt;

&lt;p&gt;In the meantime, users are able to create their own implementations of WriteModelStrategy with any custom logic and include it in the path when deploying to Kafka Connect.&lt;/p&gt;

&lt;p&gt;Ross&lt;/p&gt;</comment>
                            <comment id="2878447" author="angel.martinez" created="Fri, 14 Feb 2020 15:21:42 +0000"  >&lt;p&gt;Trying to clarify: this refers to the sink connector. Also, to avoid a large amount of documents being updated, the sink could be expecting just the update part of an UpdateOne command (&lt;a href=&quot;https://docs.mongodb.com/manual/reference/method/db.collection.updateOne/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/reference/method/db.collection.updateOne/&lt;/a&gt;), excluding filter and options&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1421917">KAFKA-130</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|hwenlj:</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>