<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:05:35 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-99] Support relaxed Json format in the source connector</title>
                <link>https://jira.mongodb.org/browse/KAFKA-99</link>
                <project id="16285" key="KAFKA">Kafka Connector</project>
                    <description>&lt;p&gt;Extended Json has a &lt;a href=&quot;#relaxed-extended-json-example]&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;relaxed format&lt;/a&gt;&#160;which makes numbers more accessible.&lt;/p&gt;

&lt;p&gt;Support relaxed numbers, dates, objectIds and binary values in the Json output. So the data is consumable by non MongoDB services.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1324212">KAFKA-99</key>
            <summary>Support relaxed Json format in the source connector</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="ross@mongodb.com">Ross Lawley</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 Apr 2020 15:12:55 +0000</created>
                <updated>Sat, 28 Oct 2023 10:46:26 +0000</updated>
                            <resolved>Mon, 27 Jul 2020 08:23:56 +0000</resolved>
                                                    <fixVersion>1.3.0</fixVersion>
                                    <component>Source</component>
                                        <votes>3</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3306824" author="xgen-internal-githook" created="Mon, 27 Jul 2020 08:23:15 +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 configurable json formatting&lt;/p&gt;

&lt;p&gt;New configuration option: output.json.formatter&lt;/p&gt;

&lt;p&gt;There are 3 available formatters:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;com.mongodb.kafka.connect.source.json.formatter.DefaultJson: The legacy strict json formatter&lt;/li&gt;
	&lt;li&gt;com.mongodb.kafka.connect.source.json.formatter.ExtendedJson: The fully type safe extended json formatter&lt;/li&gt;
	&lt;li&gt;com.mongodb.kafka.connect.source.json.formatter.SimplifiedJson: Simplified Json&lt;br/&gt;
    with ObjectId, Decimals, Dates and Binary values all represented as strings.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Users can also provide their own implementation of the com.mongodb.kafka.connect.source.json.formatter&lt;br/&gt;
which then must be added to the classpath.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/KAFKA-99&quot; title=&quot;Support relaxed Json format in the source connector&quot; class=&quot;issue-link&quot; data-issue-key=&quot;KAFKA-99&quot;&gt;&lt;del&gt;KAFKA-99&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/80ced36c266df2eac4737c1c8a954050fa08261d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-kafka/commit/80ced36c266df2eac4737c1c8a954050fa08261d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3294121" author="ross@10gen.com" created="Tue, 21 Jul 2020 10:37:16 +0000"  >&lt;p&gt;PR: &lt;a href=&quot;https://github.com/rozza/mongo-kafka/pull/27&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/rozza/mongo-kafka/pull/27&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="1309919">KAFKA-97</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K00000mqNv9QAE, 5002K00000lo95dQAA]]]></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_14266" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Documentation Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Add output.json.formatter configuration.&lt;/p&gt;

&lt;p&gt;output.format=&lt;span class=&quot;error&quot;&gt;&amp;#91;bson,json,schema&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;// Json specific configuration&lt;br/&gt;
output.json.formatter=&lt;span class=&quot;error&quot;&gt;&amp;#91;extendedJson,simplifiedJson,someUserProvidedClass&amp;#93;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;&lt;b&gt;From the Spec: Json formatter&lt;/b&gt;&lt;br/&gt;
For Json strings, to provide the user more flexibility the following Json writer settings providers will be introduced:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;extendedJson: Canonical extended json&lt;/li&gt;
	&lt;li&gt;simplifiedJson: as relaxed extended json but with the following conversions:&lt;/li&gt;
	&lt;li&gt;ObjectId: Hex string&lt;/li&gt;
	&lt;li&gt;Symbol: String&lt;/li&gt;
	&lt;li&gt;Decimal: String&lt;/li&gt;
	&lt;li&gt;DateTimes: ISO formatted String: yyyy-MM-ddTHH:mm:ss.SSSz&lt;/li&gt;
	&lt;li&gt;Binary: Base64 string&lt;/li&gt;
	&lt;li&gt;someUserProvidedClass: Users will be able to implement their own settings if desired and provide the path to the class.&lt;/li&gt;
&lt;/ul&gt;

</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>KAFKA-40</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hx4arb:</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>