<?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: Change KEY values going to Kafka in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Change-KEY-values-going-to-Kafka/m-p/2470038#M11928</link>
    <description>&lt;P&gt;Here's a file with the record from Kafka, you can see the KEY section, then VALUE section, under the value section is the AFTER and BEFORE data.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2024 15:13:43 GMT</pubDate>
    <dc:creator>fj40wdh</dc:creator>
    <dc:date>2024-07-11T15:13:43Z</dc:date>
    <item>
      <title>Change KEY values going to Kafka</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Change-KEY-values-going-to-Kafka/m-p/2469574#M11902</link>
      <description>&lt;P&gt;We have a Qlik task with an Oracle source and a Kafka target (key columns defined). The app that updates Oracle changes data in the unique index, in the table. The problem for us, is we are using the unique key in Oracle as a primary key downstream of Kafka. The index data change is causing a Primary Key change down stream which is causing update problems (can't find the current record because the key changed). The question is, can we change just the key values in Qlik? I know there is before and after info, but we need to change the key values going to Kafka.&lt;/P&gt;
&lt;P&gt;"key":&lt;BR /&gt;{"FACILITY":{"string":"BNP"},&lt;BR /&gt;"TICKET_NUMBER":{"string":"94054100"},&lt;BR /&gt;"WHSE":{"string":"1"},&lt;BR /&gt;"CATALOG_ID":{"string":"0073530040"},&lt;BR /&gt;"Q_LEVEL":{"string":"0"},&lt;BR /&gt;"UTC_NUMBER":{"string":" },&lt;BR /&gt;"QTY_TYPE":{"string":"PR"},&lt;BR /&gt;"LOC_ZONE":{"string":"3"},&lt;BR /&gt;"LOC_ROW":{"string":"D"},&lt;BR /&gt;"LOC_SECTION":{"string":"3A"},&lt;BR /&gt;"LOC_TIER":{"string":"3ZZ"},&lt;BR /&gt;"LOC_BIN":{"string":"ZZZ"}},&lt;BR /&gt;"value"&lt;BR /&gt;_data": { ...&lt;BR /&gt;_beforeData": { ...&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 13:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Change-KEY-values-going-to-Kafka/m-p/2469574#M11902</guid>
      <dc:creator>fj40wdh</dc:creator>
      <dc:date>2024-07-10T13:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Change KEY values going to Kafka</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Change-KEY-values-going-to-Kafka/m-p/2469583#M11903</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/176207"&gt;@fj40wdh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to Qlik Community!&lt;/P&gt;
&lt;P&gt;I'm uncertain about the impact of changing the primary key or unique index on the downstream components of Kafka. Are you concerned about how this change might affect which partition the messages are sent to?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If yes, we have a similar discussion, &lt;A title="Kafka Partition strategy by primary key" href="https://community.qlik.com/t5/Qlik-Replicate/Kafka-Partition-strategy-by-primary-key/td-p/1892987" target="_blank" rel="noopener"&gt;Kafka Partition strategy by primary key&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;BR /&gt;John.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 13:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Change-KEY-values-going-to-Kafka/m-p/2469583#M11903</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-07-10T13:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Change KEY values going to Kafka</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Change-KEY-values-going-to-Kafka/m-p/2469626#M11904</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;I am not concerned about the key in Kafka. We will only be changing the value of one of the columns in the key. The partition will not be affected. Just wondering if there is a key variable like the before variable&amp;nbsp; $BI__UTC_NUMBER or current value $UTC_NUMBER that be accessed to change the key value while leaving the current value as is?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 14:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Change-KEY-values-going-to-Kafka/m-p/2469626#M11904</guid>
      <dc:creator>fj40wdh</dc:creator>
      <dc:date>2024-07-10T14:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Change KEY values going to Kafka</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Change-KEY-values-going-to-Kafka/m-p/2469659#M11908</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/176207"&gt;@fj40wdh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the update.&lt;/P&gt;
&lt;P&gt;By default the Kafka message contains the record before image in "beforeData" section (see &lt;FONT color="#FF0000"&gt;②&lt;/FONT&gt;), however you still can use the $BI__&amp;lt;columnName&amp;gt; to get additional value of the before image (see &lt;FONT color="#FF0000"&gt;①&lt;/FONT&gt;), a sample of the column "name" before image and after image:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1720625515567.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169206i179298E44979416B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1720625515567.png" alt="john_wang_0-1720625515567.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 15:33:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Change-KEY-values-going-to-Kafka/m-p/2469659#M11908</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-07-10T15:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Change KEY values going to Kafka</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Change-KEY-values-going-to-Kafka/m-p/2469692#M11910</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;I'm aware of the before image and after image. I'm need to know about the KEY "image" see the example in my original post. when you look at the topics in Kafka there is a KEY section, a CURRENT DATA section, and a BEFORE DATA section. All of this comes from Qlik Replicate. I know I can change the Before and After image data, I need to know if there is a way to change just the KEY data,&lt;/P&gt;
&lt;P&gt;Note&lt;/P&gt;
&lt;P&gt;You can change the after image and it will change the key, but I only need to change the key.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 17:05:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Change-KEY-values-going-to-Kafka/m-p/2469692#M11910</guid>
      <dc:creator>fj40wdh</dc:creator>
      <dc:date>2024-07-10T17:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Change KEY values going to Kafka</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Change-KEY-values-going-to-Kafka/m-p/2469758#M11912</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/176207"&gt;@fj40wdh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I guess I did not get the question well. Would you please export the task and attach the json - obfuscating sensitive information as needed.&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 01:11:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Change-KEY-values-going-to-Kafka/m-p/2469758#M11912</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-07-11T01:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Change KEY values going to Kafka</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Change-KEY-values-going-to-Kafka/m-p/2469959#M11927</link>
      <description>&lt;P&gt;Here's the file&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 13:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Change-KEY-values-going-to-Kafka/m-p/2469959#M11927</guid>
      <dc:creator>fj40wdh</dc:creator>
      <dc:date>2024-07-11T13:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Change KEY values going to Kafka</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Change-KEY-values-going-to-Kafka/m-p/2470038#M11928</link>
      <description>&lt;P&gt;Here's a file with the record from Kafka, you can see the KEY section, then VALUE section, under the value section is the AFTER and BEFORE data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 15:13:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Change-KEY-values-going-to-Kafka/m-p/2470038#M11928</guid>
      <dc:creator>fj40wdh</dc:creator>
      <dc:date>2024-07-11T15:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Change KEY values going to Kafka</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Change-KEY-values-going-to-Kafka/m-p/2470206#M11954</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/176207"&gt;@fj40wdh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the information. Would you please open a support ticket with source table creation DDL and we'd like to reproduce the behavior in our internal labs to understand the issue. I'd love to work with out support team to move the case forward.&lt;/P&gt;
&lt;P&gt;thanks,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 07:10:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Change-KEY-values-going-to-Kafka/m-p/2470206#M11954</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-07-12T07:10:15Z</dc:date>
    </item>
  </channel>
</rss>

