<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:05:26 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-45] Sink connector expects both the key and value to be convertible to a Bson Document</title>
                <link>https://jira.mongodb.org/browse/KAFKA-45</link>
                <project id="16285" key="KAFKA">Kafka Connector</project>
                    <description>&lt;p&gt;That may not always be the case - the datagen connector can produce keys that are just strings.&lt;/p&gt;</description>
                <environment></environment>
        <key id="860664">KAFKA-45</key>
            <summary>Sink connector expects both the key and value to be convertible to a Bson Document</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="13201">Fixed</resolution>
                                        <assignee username="ross@mongodb.com">Ross Lawley</assignee>
                                    <reporter username="ross@mongodb.com">Ross Lawley</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Jul 2019 14:33:44 +0000</created>
                <updated>Sat, 28 Oct 2023 10:46:21 +0000</updated>
                            <resolved>Mon, 6 Apr 2020 09:09:32 +0000</resolved>
                                                    <fixVersion>1.1</fixVersion>
                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3026857" author="xgen-internal-githook" created="Mon, 6 Apr 2020 09:08:59 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ross Lawley&apos;, &apos;email&apos;: &apos;ross.lawley@gmail.com&apos;, &apos;username&apos;: &apos;rozza&apos;}
&lt;p&gt;Message: Added LazyBsonDocument and made SinkDocument key/values lazily decoded.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/KAFKA-45&quot; title=&quot;Sink connector expects both the key and value to be convertible to a Bson Document&quot; class=&quot;issue-link&quot; data-issue-key=&quot;KAFKA-45&quot;&gt;&lt;del&gt;KAFKA-45&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-kafka/commit/f4df234076a140a07da2d9adce51f5fe6aaf0f36&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-kafka/commit/f4df234076a140a07da2d9adce51f5fe6aaf0f36&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3021096" author="ross@10gen.com" created="Wed, 1 Apr 2020 14:54:10 +0000"  >&lt;p&gt;PR: &lt;a href=&quot;https://github.com/rozza/mongo-kafka/pull/14&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/rozza/mongo-kafka/pull/14&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2408528" author="ross@10gen.com" created="Thu, 5 Sep 2019 10:40:55 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=grahslhp%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;grahslhp@gmail.com&quot;&gt;grahslhp@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Looks like this could just be a documentation issue then that can be fixed by an SMT.&lt;/p&gt;</comment>
                            <comment id="2400309" author="grahslhp@gmail.com" created="Thu, 29 Aug 2019 18:51:45 +0000"  >&lt;p&gt;my 2 cents on this: I never saw this as a real restriction. The way to go is to simply configure an SMT that wraps e.g. a plain string into a &quot;document&quot; structure and that&apos;s it. The advantage in doing so is to keep the options w.r.t key-related &quot;manipulations&quot;: extract parts, project fields etc. which wouldn&apos;t be possible when employing e.g. a plain string or a simple number. Your mileage may vary though &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K00000pknirQAA]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <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|hwedtr:</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>