<?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 Kafka target Change Table message key configurations in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Kafka-target-Change-Table-message-key-configurations/m-p/2472810#M12143</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;My kafka destination is connected to the SQL Server as source,&amp;nbsp; connection is set as below:&lt;/P&gt;
&lt;P&gt;- separate topic for each table&lt;/P&gt;
&lt;P&gt;- transformation rules to add prefix to schema&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mouse_keyboard_0-1721878425462.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169885i127BE80D3F71C69E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mouse_keyboard_0-1721878425462.png" alt="mouse_keyboard_0-1721878425462.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mouse_keyboard_1-1721878540311.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169886iE73A71B491154EF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mouse_keyboard_1-1721878540311.png" alt="mouse_keyboard_1-1721878540311.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;On Full Load:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;- Message key is using primary key, and thus the partitioning also is using primary key&lt;/P&gt;
&lt;P&gt;&lt;U&gt;On Change Data Capture:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;- Message key &lt;STRONG&gt;becomes&lt;/STRONG&gt; the timestamp&amp;nbsp; like "202407080525482000000000000000040249"+"B"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just wondering it is possible to make Full Load and CDC both share the same message key? (There are around 200 tables with mixtures of primary key and composite key, thus I cannot go into each table and define a transformation rule on $partition column separately)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jul 2024 03:39:45 GMT</pubDate>
    <dc:creator>mouse_keyboard</dc:creator>
    <dc:date>2024-07-25T03:39:45Z</dc:date>
    <item>
      <title>Kafka target Change Table message key configurations</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Kafka-target-Change-Table-message-key-configurations/m-p/2472810#M12143</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;My kafka destination is connected to the SQL Server as source,&amp;nbsp; connection is set as below:&lt;/P&gt;
&lt;P&gt;- separate topic for each table&lt;/P&gt;
&lt;P&gt;- transformation rules to add prefix to schema&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mouse_keyboard_0-1721878425462.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169885i127BE80D3F71C69E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mouse_keyboard_0-1721878425462.png" alt="mouse_keyboard_0-1721878425462.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mouse_keyboard_1-1721878540311.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169886iE73A71B491154EF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mouse_keyboard_1-1721878540311.png" alt="mouse_keyboard_1-1721878540311.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;On Full Load:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;- Message key is using primary key, and thus the partitioning also is using primary key&lt;/P&gt;
&lt;P&gt;&lt;U&gt;On Change Data Capture:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;- Message key &lt;STRONG&gt;becomes&lt;/STRONG&gt; the timestamp&amp;nbsp; like "202407080525482000000000000000040249"+"B"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just wondering it is possible to make Full Load and CDC both share the same message key? (There are around 200 tables with mixtures of primary key and composite key, thus I cannot go into each table and define a transformation rule on $partition column separately)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 03:39:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Kafka-target-Change-Table-message-key-configurations/m-p/2472810#M12143</guid>
      <dc:creator>mouse_keyboard</dc:creator>
      <dc:date>2024-07-25T03:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka target Change Table message key configurations</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Kafka-target-Change-Table-message-key-configurations/m-p/2472812#M12144</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/293744"&gt;@mouse_keyboard&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Welcome to Qlik Community forum and thanks for reaching out here!&lt;/P&gt;
&lt;P&gt;I'm not sure what's the purpose of the transform to "resolve kafka topics". If you intended to specify the topic name , or topic name rule, then please use the $topic, see User Guide&lt;A title=" Overriding the default settings" href="https://help.qlik.com/en-US/replicate/May2024/Content/Replicate/Main/Kafka/kafka_override_default_settings.htm#ar_kafka_1150155758_1634409:~:text=%24topic%20%2D%20To%20write%20messages%20to%20a%20specific%20topic." target="_blank" rel="noopener"&gt; Overriding the default settings&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 04:00:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Kafka-target-Change-Table-message-key-configurations/m-p/2472812#M12144</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-07-25T04:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka target Change Table message key configurations</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Kafka-target-Change-Table-message-key-configurations/m-p/2472816#M12145</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please ignore the topic name related transformation. My main question is how to make it such that both the full load and the CDC table share the same message key (primary key)&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 04:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Kafka-target-Change-Table-message-key-configurations/m-p/2472816#M12145</guid>
      <dc:creator>mouse_keyboard</dc:creator>
      <dc:date>2024-07-25T04:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka target Change Table message key configurations</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Kafka-target-Change-Table-message-key-configurations/m-p/2472826#M12146</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/293744"&gt;@mouse_keyboard&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the update however the behavior cannot be reproduced in my local labs.&lt;/P&gt;
&lt;P&gt;IN my env both Full Load and CDC Change Processing produce the correct message key, see my screenshot, the first row is produced in Full Load stage, the 2nd rows is CDC message. The message key is the table's PK value "2":&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1721882730471.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169887i991CA8CACA49309A/image-size/large?v=v2&amp;amp;px=999" role="button" title="john_wang_0-1721882730471.png" alt="john_wang_0-1721882730471.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_2-1721882860942.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169889iB5C23BF2C3B7EBB0/image-size/large?v=v2&amp;amp;px=999" role="button" title="john_wang_2-1721882860942.png" alt="john_wang_2-1721882860942.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 04:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Kafka-target-Change-Table-message-key-configurations/m-p/2472826#M12146</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-07-25T04:48:35Z</dc:date>
    </item>
  </channel>
</rss>

