<?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 AVRO - MAP not supported in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Kafka-AVRO-MAP-not-supported/m-p/2360217#M124850</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to consume a Kafka feed that outputs AVRO.&lt;/P&gt;&lt;P&gt;I'm getting an issue with using the following .avsc file (attached as .txt, eventtaggs-event-v6.txt) on tKafkaInputAVRO:&lt;/P&gt;&lt;P&gt;java.lang.UnsupportedOperationException: MAP not supported ...&lt;/P&gt;&lt;P&gt;Similarly if I use tKafkaInput -&amp;gt; tHMapRecord I get: &lt;/P&gt;&lt;P&gt;java.lang.IllegalArgumentException: Unsupported type for node {"type":"map","values":"long"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.talend.transform.avro.AvroUtils.toAvroValue(AvroUtils.java:273)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.talend.transform.avro.AvroUtils.toAvroValue(AvroUtils.java:207)&lt;/P&gt;&lt;P&gt;I think the feed providers uses Confluent to serialize/deserialise their data with zstd&lt;/P&gt;&lt;P&gt; compression - any suggestions?&lt;/P&gt;&lt;P&gt;I've attached the example JSON output that I should be reading (example_Event_aggs_output.txt). I only want to pull out specific fields and load these into a SQL server db etc from the Kafka Stream that output AVRO.&lt;/P&gt;&lt;P&gt;Talend studio&lt;/P&gt;&lt;P&gt;Version: 7.1.1&lt;/P&gt;&lt;P&gt;Build id: 20201210_0723-patch&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;I saw this page about using confluent deserializer: &lt;A href="https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html" alt="https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html" target="_blank"&gt;https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html&lt;/A&gt; + &lt;A href="https://docs.confluent.io/platform/current/schema-registry/serdes-develop/serdes-avro.html" target="_blank"&gt;https://docs.confluent.io/platform/current/schema-registry/serdes-develop/serdes-avro.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;but not sure how to use this within Talend studio&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:51:49 GMT</pubDate>
    <dc:creator>LI1</dc:creator>
    <dc:date>2024-11-15T23:51:49Z</dc:date>
    <item>
      <title>Kafka AVRO - MAP not supported</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Kafka-AVRO-MAP-not-supported/m-p/2360217#M124850</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to consume a Kafka feed that outputs AVRO.&lt;/P&gt;&lt;P&gt;I'm getting an issue with using the following .avsc file (attached as .txt, eventtaggs-event-v6.txt) on tKafkaInputAVRO:&lt;/P&gt;&lt;P&gt;java.lang.UnsupportedOperationException: MAP not supported ...&lt;/P&gt;&lt;P&gt;Similarly if I use tKafkaInput -&amp;gt; tHMapRecord I get: &lt;/P&gt;&lt;P&gt;java.lang.IllegalArgumentException: Unsupported type for node {"type":"map","values":"long"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.talend.transform.avro.AvroUtils.toAvroValue(AvroUtils.java:273)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.talend.transform.avro.AvroUtils.toAvroValue(AvroUtils.java:207)&lt;/P&gt;&lt;P&gt;I think the feed providers uses Confluent to serialize/deserialise their data with zstd&lt;/P&gt;&lt;P&gt; compression - any suggestions?&lt;/P&gt;&lt;P&gt;I've attached the example JSON output that I should be reading (example_Event_aggs_output.txt). I only want to pull out specific fields and load these into a SQL server db etc from the Kafka Stream that output AVRO.&lt;/P&gt;&lt;P&gt;Talend studio&lt;/P&gt;&lt;P&gt;Version: 7.1.1&lt;/P&gt;&lt;P&gt;Build id: 20201210_0723-patch&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;I saw this page about using confluent deserializer: &lt;A href="https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html" alt="https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html" target="_blank"&gt;https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html&lt;/A&gt; + &lt;A href="https://docs.confluent.io/platform/current/schema-registry/serdes-develop/serdes-avro.html" target="_blank"&gt;https://docs.confluent.io/platform/current/schema-registry/serdes-develop/serdes-avro.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;but not sure how to use this within Talend studio&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Kafka-AVRO-MAP-not-supported/m-p/2360217#M124850</guid>
      <dc:creator>LI1</dc:creator>
      <dc:date>2024-11-15T23:51:49Z</dc:date>
    </item>
  </channel>
</rss>

