<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:05:45 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-176] Improve heartbeat usability</title>
                <link>https://jira.mongodb.org/browse/KAFKA-176</link>
                <project id="16285" key="KAFKA">Kafka Connector</project>
                    <description>&lt;p&gt;Currently, users have to consume heartbeat messages themselves manually.&lt;/p&gt;

&lt;p&gt;Using KSql, custom code  or the console script:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;./kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic __mongodb_heartbeats --skip-message-on-error&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;This is not very user friendly and we should provide a way to do this easily.&lt;/p&gt;

&lt;p&gt;Perhaps a background thread in the Source could handle it or a custom Sink handler.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1553070">KAFKA-176</key>
            <summary>Improve heartbeat usability</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="13202">Works as Designed</resolution>
                                        <assignee username="ross@mongodb.com">Ross Lawley</assignee>
                                    <reporter username="ross@mongodb.com">Ross Lawley</reporter>
                        <labels>
                    </labels>
                <created>Thu, 26 Nov 2020 10:25:01 +0000</created>
                <updated>Fri, 27 Oct 2023 11:54:14 +0000</updated>
                            <resolved>Mon, 15 Mar 2021 14:54:37 +0000</resolved>
                                                    <fixVersion>1.5.0</fixVersion>
                                    <component>Source</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3694905" author="xgen-internal-githook" created="Wed, 31 Mar 2021 20:24:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Nathan Leniz&apos;, &apos;email&apos;: &apos;nathan.leniz@mongodb.com&apos;, &apos;username&apos;: &apos;terakilobyte&apos;}
&lt;p&gt;Message: remove wording that users must consume heartbeat&lt;/p&gt;

&lt;p&gt;per &lt;a href=&quot;https://jira.mongodb.org/browse/KAFKA-176&quot; title=&quot;Improve heartbeat usability&quot; class=&quot;issue-link&quot; data-issue-key=&quot;KAFKA-176&quot;&gt;&lt;del&gt;KAFKA-176&lt;/del&gt;&lt;/a&gt;, consuming heartbeats is not required&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/docs-kafka-connector/commit/e2b457060a925ece85320209a5d76f99222e6482&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/docs-kafka-connector/commit/e2b457060a925ece85320209a5d76f99222e6482&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3664732" author="xgen-internal-githook" created="Mon, 15 Mar 2021 16:48:00 +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: Updated Heartbeat test&lt;/p&gt;

&lt;p&gt;Shows that heartbeats don&apos;t have to be consumed.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/KAFKA-176&quot; title=&quot;Improve heartbeat usability&quot; class=&quot;issue-link&quot; data-issue-key=&quot;KAFKA-176&quot;&gt;&lt;del&gt;KAFKA-176&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/e5ff9b899f7bcde76d1f2d0fd3d449a9819ce242&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-kafka/commit/e5ff9b899f7bcde76d1f2d0fd3d449a9819ce242&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3664353" author="ross@10gen.com" created="Mon, 15 Mar 2021 14:54:22 +0000"  >&lt;p&gt;After reviewing the implementation and how Kafka works internally, it has been shown that this assumption is incorrect.&lt;/p&gt;

&lt;p&gt;Heartbeats don&apos;t have to be read from the topic to be set as the last produced offset from the OffsetStorageReader.&lt;/p&gt;

&lt;p&gt;tldr; even without reading heartbeat offsets, restarting the connector will use the last produced resumeToken (either from a changestream document or from the post batch resume token from the changestream cursor).&lt;/p&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1036772">KAFKA-76</issuekey>
        </issuelink>
                            </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[[5002K00000qfHiYQAU, 5002K00000tV2eJQAS]]]></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|hr69s7:</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>