<?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: tKafkaInput payload is empty in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tKafkaInput-payload-is-empty/m-p/2248632#M33426</link>
    <description>&lt;P&gt;You can also change the output type to String on tKafkaInput:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-08-31 at 11.15.30 AM.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzYa.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156881iE96CBCAF344F5673/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzYa.png" alt="0683p000009LzYa.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 31 Aug 2018 19:17:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-31T19:17:41Z</dc:date>
    <item>
      <title>tKafkaInput payload is empty</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tKafkaInput-payload-is-empty/m-p/2248628#M33422</link>
      <description>&lt;P&gt;I am doing a POC on tKafka* components. I have one standard job&amp;nbsp; generating data and dropping messages into a kafka topic as byte []. Another job is reading it as string and printing on the console as well as outputting to a file via tFileOutputRaw.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The first job is &amp;nbsp;creating the messages and the second job appears to be reading the messages. I see the metrics. However, when I dump it to the console, I am not seeing any data and the file does not get created. If I replace the tFileOutputRaw with tFileOutputDelimited, the file is created but it is empty.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;All of this in standard job environment. Eventually I want to run the second job in BigData Streaming environment. I remember testing this on my laptop a while ago, when kafka was running locally. This is a different environment and I don't know the version and any server configuration information.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kafka job 1.PNG" style="width: 938px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lziy.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133353iD1BA1C78EC28F751/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lziy.png" alt="0683p000009Lziy.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kafka job 2.PNG" style="width: 937px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lzdu.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148597i0E8E9B5EA5929012/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lzdu.png" alt="0683p000009Lzdu.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tKafkaInput-payload-is-empty/m-p/2248628#M33422</guid>
      <dc:creator>rnathan2020</dc:creator>
      <dc:date>2024-11-16T07:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: tKafkaInput payload is empty</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tKafkaInput-payload-is-empty/m-p/2248629#M33423</link>
      <description>&lt;P&gt;BTW, this is Talend 6.5.1&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 22:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tKafkaInput-payload-is-empty/m-p/2248629#M33423</guid>
      <dc:creator>rnathan2020</dc:creator>
      <dc:date>2018-08-29T22:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: tKafkaInput payload is empty</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tKafkaInput-payload-is-empty/m-p/2248630#M33424</link>
      <description>&lt;P&gt;tKafkaInput reads from the end of the topic by default. You won't see any messages until some other process writes some new ones to the topic. You can change this in the component settings under "New consumer group starts from":&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-08-30 at 9.41.20 AM.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lzjm.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140683i8A81950940FD56C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lzjm.png" alt="0683p000009Lzjm.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I also prefer to have the component stop after a small number of messages while testing. This way I don't have to try and produce messages before it exits. It will wait forever for 10 messages to appear on the topic.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 17:45:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tKafkaInput-payload-is-empty/m-p/2248630#M33424</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-30T17:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: tKafkaInput payload is empty</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tKafkaInput-payload-is-empty/m-p/2248631#M33425</link>
      <description>&lt;P&gt;Hi, I was retrieving the messages but they contain nothing, null. I did further testing, by retrieving the messages from kafka shell client. That was also returning null content messages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I traced this down to tConvertType component, where I was trying to convert from string to byte[].&amp;nbsp;Instead I used java function getBytes() on the string and it worked! To get the string back from byte[], I used the cast (byte[]).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now it is working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks all for pitching in.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 17:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tKafkaInput-payload-is-empty/m-p/2248631#M33425</guid>
      <dc:creator>rnathan2020</dc:creator>
      <dc:date>2018-08-31T17:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: tKafkaInput payload is empty</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tKafkaInput-payload-is-empty/m-p/2248632#M33426</link>
      <description>&lt;P&gt;You can also change the output type to String on tKafkaInput:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-08-31 at 11.15.30 AM.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzYa.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156881iE96CBCAF344F5673/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzYa.png" alt="0683p000009LzYa.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 19:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tKafkaInput-payload-is-empty/m-p/2248632#M33426</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-31T19:17:41Z</dc:date>
    </item>
  </channel>
</rss>

