<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:05:56 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-248] WARN No topic set. Could not publish the message</title>
                <link>https://jira.mongodb.org/browse/KAFKA-248</link>
                <project id="16285" key="KAFKA">Kafka Connector</project>
                    <description>&lt;p&gt;I get this message when I launch the MongoDB source connector and perform an update on source DB:&lt;/p&gt;

&lt;p&gt;&#8220;WARN No topic set. Could not publish the message (&#8230;)&#8221;&lt;/p&gt;

&lt;p&gt;If I remove &lt;b&gt;&quot;ns&quot;&lt;/b&gt;&#160;from the aggregation pipeline then it throws a warning message and does not insert the data into Topic. But if I add ns in the&#160;project operation then it is working fine. This may be the bug.&lt;/p&gt;



&lt;p&gt;&lt;b&gt;Current Pipeline:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;[&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;{$match:&lt;/b&gt; &lt;br/&gt;
 &lt;b&gt;{&quot;operationType&quot;: &quot;insert&quot;}&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;},&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;{$project:&lt;/b&gt; &lt;br/&gt;
 &lt;b&gt;{&lt;/b&gt;&lt;br/&gt;
 &lt;b&gt;&quot;_id&quot;:1,&lt;/b&gt;&lt;/p&gt;

&lt;p&gt; &lt;b&gt;&quot;identity_id&quot;: &quot;$fullDocument.profile.userIdentityId&quot;,&lt;/b&gt; &lt;br/&gt;
 &lt;b&gt;&quot;user_guid&quot;:&quot;$fullDocument.userGuid&quot;,&lt;/b&gt; &lt;br/&gt;
 &lt;b&gt;&quot;status&quot;: &quot;$fullDocument.status&quot;,&lt;/b&gt; &lt;br/&gt;
 &lt;b&gt;&quot;product_items&quot;: &quot;$fullDocument.productItems&quot;,&lt;/b&gt; &lt;br/&gt;
 &lt;b&gt;&quot;last_updated_on&quot;: {$subtract :&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;$$NOW&amp;quot;,&amp;quot;$fullDocument.lastUpdatedOn&amp;quot;&amp;#93;&lt;/span&gt;}&lt;/b&gt;&lt;br/&gt;
 &lt;b&gt;}&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;}&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;]&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/330211/330211_image-2021-08-16-11-39-04-425.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1851757">KAFKA-248</key>
            <summary>WARN No topic set. Could not publish the message</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="13202">Works as Designed</resolution>
                                        <assignee username="ross@mongodb.com">Ross Lawley</assignee>
                                    <reporter username="guptabrijmohan30@gmail.com">BRIJ MOHAN GUPTA</reporter>
                        <labels>
                            <label>external-user</label>
                    </labels>
                <created>Mon, 16 Aug 2021 06:09:10 +0000</created>
                <updated>Fri, 27 Oct 2023 11:54:13 +0000</updated>
                            <resolved>Mon, 16 Aug 2021 14:53:07 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4001416" author="ross@10gen.com" created="Mon, 16 Aug 2021 14:51:44 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=guptabrijmohan30%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;guptabrijmohan30@gmail.com&quot;&gt;guptabrijmohan30@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;This is by design as Mongo Namespaces map to topics.  Please see the &lt;a href=&quot;https://docs.mongodb.com/kafka-connector/current/kafka-source/#source-connector-configuration-properties&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Source connector configuration properties&lt;/a&gt;.  If you just want to publish the full document only - please use the &lt;tt&gt;publish.full.document.only=true&lt;/tt&gt; configuration.&lt;/p&gt;

&lt;p&gt;All the best,&lt;/p&gt;

&lt;p&gt;Ross &lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="330211" name="image-2021-08-16-11-39-04-425.png" size="93393" author="guptabrijmohan30@gmail.com" created="Mon, 16 Aug 2021 06:09:07 +0000"/>
                    </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|hzhxgf:</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>