<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Kafka SMT for Kafka Sinks in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Kafka-SMT-for-Kafka-Sinks/m-p/2048584#M5332</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/221644"&gt;@chris_s&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for you opening the article, really an interesting topic. In Qlik Replicate, the &lt;A title="message format" href="https://help.qlik.com/en-US/replicate/November2022/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/Message_Format.htm" target="_blank" rel="noopener"&gt;message format&lt;/A&gt; can be&amp;nbsp;tailor-made include removing the beforeImage, flatten the hierarchical structure of the section etc.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Mar 2023 15:05:41 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2023-03-13T15:05:41Z</dc:date>
    <item>
      <title>Kafka SMT for Kafka Sinks</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Kafka-SMT-for-Kafka-Sinks/m-p/2048366#M5325</link>
      <description>&lt;P&gt;Hi Qlik Community&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We use Qlik Replicate to repliacate a database as CDC Events into Kafka. This works quite performant and we are happy with the producing side.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But we are missing something on the consumer side of things.&amp;nbsp;&lt;BR /&gt;We would like to have a mechanism to flatten the CDC Events back to the original structure. This should be possible by taking the headers.&lt;SPAN&gt;operation into account:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;REFRESH =&amp;gt; perform upsert on DB&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;UPDATE&amp;nbsp;=&amp;gt; perform update on DB&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;INSERT =&amp;gt; perform&amp;nbsp;insert on DB&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;DELETE&amp;nbsp; =&amp;gt; perform delete on DB (or soft delete)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Our current solution is to implement that as views in the DB. But this is cumbersome to manage.&lt;/P&gt;
&lt;P&gt;We saw that there is a Kafka&amp;nbsp;single message transformation (SMT) to do this task:&amp;nbsp;&lt;A href="https://github.com/michelin/kafka-connect-transforms-qlik-replicate" target="_blank"&gt;https://github.com/michelin/kafka-connect-transforms-qlik-replicate&lt;/A&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;A href="https://blogit.michelin.io/open-sourcing-kafka-connect-transforms-for-qlik-replicate/" target="_blank"&gt;https://blogit.michelin.io/open-sourcing-kafka-connect-transforms-for-qlik-replicate/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But this project has not has any release in the last 2 years.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a similar Artifact from Qlik?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 09:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Kafka-SMT-for-Kafka-Sinks/m-p/2048366#M5325</guid>
      <dc:creator>chris_s</dc:creator>
      <dc:date>2023-03-13T09:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka SMT for Kafka Sinks</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Kafka-SMT-for-Kafka-Sinks/m-p/2048584#M5332</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/221644"&gt;@chris_s&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for you opening the article, really an interesting topic. In Qlik Replicate, the &lt;A title="message format" href="https://help.qlik.com/en-US/replicate/November2022/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/Message_Format.htm" target="_blank" rel="noopener"&gt;message format&lt;/A&gt; can be&amp;nbsp;tailor-made include removing the beforeImage, flatten the hierarchical structure of the section etc.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 15:05:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Kafka-SMT-for-Kafka-Sinks/m-p/2048584#M5332</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-03-13T15:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka SMT for Kafka Sinks</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Kafka-SMT-for-Kafka-Sinks/m-p/2048822#M5347</link>
      <description>&lt;P&gt;Hi John&lt;BR /&gt;Thanks for the answer. Unfortunately it is not enough for our use case. We already produce the messages and have several consumers (which are happy with the current message format).&lt;/P&gt;
&lt;P&gt;Hence we are looking for some kind of process-logic which interpret the headers fields and do the propper actions on a receiving db.&lt;/P&gt;
&lt;P&gt;And probably is "flatten" a missleading word for that. Flatten would also be possible on a kafka sink connector using an existing SMT:&amp;nbsp;&lt;A href="https://docs.confluent.io/platform/current/connect/transforms/flatten.html" target="_blank"&gt;https://docs.confluent.io/platform/current/connect/transforms/flatten.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 07:09:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Kafka-SMT-for-Kafka-Sinks/m-p/2048822#M5347</guid>
      <dc:creator>chris_s</dc:creator>
      <dc:date>2023-03-14T07:09:23Z</dc:date>
    </item>
  </channel>
</rss>

