<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:05:39 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-128] Mongo source connector offset partition map</title>
                <link>https://jira.mongodb.org/browse/KAFKA-128</link>
                <project id="16285" key="KAFKA">Kafka Connector</project>
                    <description>&lt;p&gt;Currently offset creates as a concatenation of &lt;b&gt;connection.uri&lt;/b&gt;, &lt;b&gt;database&lt;/b&gt; and &lt;b&gt;collection&lt;/b&gt; parameters.&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-kafka/blob/master/src/main/java/com/mongodb/kafka/connect/source/MongoSourceTask.java#L309-L317&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-kafka/blob/master/src/main/java/com/mongodb/kafka/connect/source/MongoSourceTask.java#L309-L317&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This approach has a couple of disadvantages.&lt;/p&gt;

&lt;p&gt;1) such offset could contain mongo username and password, which will be written to kafka connect offsets topic. I guess it&apos;s not very secure.&lt;br/&gt;
2) if the mongo password or username was changed, the offset will be lost.&lt;/p&gt;

&lt;p&gt;Is it make sense to use a static partition name? Or in the future, there is could be more than one partition?&lt;/p&gt;</description>
                <environment></environment>
        <key id="1407557">KAFKA-128</key>
            <summary>Mongo source connector offset partition map</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="13201">Fixed</resolution>
                                        <assignee username="ross@mongodb.com">Ross Lawley</assignee>
                                    <reporter username="andreworty@gmail.com">Andrey B</reporter>
                        <labels>
                    </labels>
                <created>Sun, 12 Jul 2020 18:32:44 +0000</created>
                <updated>Sat, 28 Oct 2023 10:46:02 +0000</updated>
                            <resolved>Thu, 3 Sep 2020 09:50:51 +0000</resolved>
                                                    <fixVersion>1.3.0</fixVersion>
                                    <component>Source</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="3369428" author="xgen-internal-githook" created="Tue, 1 Sep 2020 10:33:12 +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: Sanitized the connection string in the partion map&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/KAFKA-128&quot; title=&quot;Mongo source connector offset partition map&quot; class=&quot;issue-link&quot; data-issue-key=&quot;KAFKA-128&quot;&gt;&lt;del&gt;KAFKA-128&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/01f3a71b724e1c022c490de4a87ec4c50634b7cb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-kafka/commit/01f3a71b724e1c022c490de4a87ec4c50634b7cb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3364208" author="xgen-internal-githook" created="Fri, 28 Aug 2020 15:16:48 +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: Sanitized the connection string in the partion map&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/KAFKA-128&quot; title=&quot;Mongo source connector offset partition map&quot; class=&quot;issue-link&quot; data-issue-key=&quot;KAFKA-128&quot;&gt;&lt;del&gt;KAFKA-128&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: k128&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-kafka/commit/1611cd60f867ea1e96e673e48ae0f90aed9b4ff3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-kafka/commit/1611cd60f867ea1e96e673e48ae0f90aed9b4ff3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3355300" author="ross@10gen.com" created="Mon, 24 Aug 2020 15:19:10 +0000"  >&lt;p&gt;PR: &lt;a href=&quot;https://github.com/mongodb/mongo-kafka/pull/31&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-kafka/pull/31&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|hw337r:</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>