<?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 tjavarow:Error in serialized byte output creation in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tjavarow-Error-in-serialized-byte-output-creation/m-p/2262997#M43280</link>
    <description>In trying to create serialized byte output in tjavarow. Iam facing following error.
&lt;BR /&gt;
&lt;BR /&gt;ERROR: Detail Message: The constructor ProducerRecord&amp;lt;byte[],byte[]&amp;gt;(String, Byte) is undefined
&lt;BR /&gt;
&lt;BR /&gt;Here is the code that I have put in tjavarow.
&lt;BR /&gt;
&lt;BR /&gt;output_row.SerializedValue = new StringBuilder()
&lt;BR /&gt;.append(input_row.product_id)
&lt;BR /&gt;.append(":")
&lt;BR /&gt;.append(input_row.model)
&lt;BR /&gt;.append(":")
&lt;BR /&gt;.append(input_row.country)
&lt;BR /&gt;.append(":")
&lt;BR /&gt;.append(input_row.availableQTY)
&lt;BR /&gt;.append(":")
&lt;BR /&gt;.append(input_row.priceperQTY)
&lt;BR /&gt;.append(":")
&lt;BR /&gt;.append(input_row.currency)
&lt;BR /&gt;.append(":")
&lt;BR /&gt;.append(input_row.glob_delivery)
&lt;BR /&gt;.append(":")
&lt;BR /&gt;.append(input_row.Out_of_Stock).toString().getBytes();
&lt;BR /&gt;</description>
    <pubDate>Sat, 16 Nov 2024 07:15:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T07:15:02Z</dc:date>
    <item>
      <title>tjavarow:Error in serialized byte output creation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tjavarow-Error-in-serialized-byte-output-creation/m-p/2262997#M43280</link>
      <description>In trying to create serialized byte output in tjavarow. Iam facing following error.
&lt;BR /&gt;
&lt;BR /&gt;ERROR: Detail Message: The constructor ProducerRecord&amp;lt;byte[],byte[]&amp;gt;(String, Byte) is undefined
&lt;BR /&gt;
&lt;BR /&gt;Here is the code that I have put in tjavarow.
&lt;BR /&gt;
&lt;BR /&gt;output_row.SerializedValue = new StringBuilder()
&lt;BR /&gt;.append(input_row.product_id)
&lt;BR /&gt;.append(":")
&lt;BR /&gt;.append(input_row.model)
&lt;BR /&gt;.append(":")
&lt;BR /&gt;.append(input_row.country)
&lt;BR /&gt;.append(":")
&lt;BR /&gt;.append(input_row.availableQTY)
&lt;BR /&gt;.append(":")
&lt;BR /&gt;.append(input_row.priceperQTY)
&lt;BR /&gt;.append(":")
&lt;BR /&gt;.append(input_row.currency)
&lt;BR /&gt;.append(":")
&lt;BR /&gt;.append(input_row.glob_delivery)
&lt;BR /&gt;.append(":")
&lt;BR /&gt;.append(input_row.Out_of_Stock).toString().getBytes();
&lt;BR /&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tjavarow-Error-in-serialized-byte-output-creation/m-p/2262997#M43280</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: tjavarow:Error in serialized byte output creation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tjavarow-Error-in-serialized-byte-output-creation/m-p/2262998#M43281</link>
      <description>&lt;P&gt;&lt;SPAN&gt;output_row.SerializedValue = new StringBuilder()&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;is String variable,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;but you try to assign for string variable byte[] value&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;remove .getBytes from your code and add one more column for test&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;output_row.SerializedValueByteswith type byte[]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;at the end of your code add:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;output_row.SerializedValueBytes = output_row.SerializedValue.getBytes();&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Nov 2018 01:36:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tjavarow-Error-in-serialized-byte-output-creation/m-p/2262998#M43281</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-11-21T01:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: tjavarow:Error in serialized byte output creation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tjavarow-Error-in-serialized-byte-output-creation/m-p/2262999#M43282</link>
      <description>&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/s/profile/005390000067LRbAAM"&gt;@vapukov&lt;/A&gt; for the reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem was not in the code but in the column which was receiving this value in the downstream tkafkaoutput where I had used 'Byte' instead of byte[]. I was able to resolve it then. Thanks anyways&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 10:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tjavarow-Error-in-serialized-byte-output-creation/m-p/2262999#M43282</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-21T10:01:58Z</dc:date>
    </item>
  </channel>
</rss>

