<?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>question Reading JSON data  from Kafka in SAM (HDF 3.1) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Reading-JSON-data-from-Kafka-in-SAM-HDF-3-1/m-p/193501#M80864</link>
    <description>&lt;P&gt;Hi All,I am exploring around Streaming Analytics Manager, I have a flow which read messages from Kafka topic and writes it back to another Kafka topic after filtering based on some rules.&lt;BR /&gt;&lt;BR /&gt;above flow works when messages in Kafka are in Avro format but it fails in case of JSON with following error &lt;BR /&gt;"SAM error: com.hortonworks.registries.schemaregistry.serde.SerDesException: Unknown protocol id [123] received while deserializing the payload"&lt;/P&gt;&lt;P&gt;I have checked &lt;A href="https://community.hortonworks.com/questions/121234/sam-error-comhortonworksregistriesschemaregistryse.html" target="_blank"&gt;https://community.hortonworks.com/questions/121234/sam-error-comhortonworksregistriesschemaregistryse.html&lt;/A&gt; which reported it as a bug in 3.0 later resolved in 3.1. I am using 3.1 Sandbox.&lt;/P&gt;&lt;P&gt;I have  also seen Community Hello -World SAM application saying messages must be in Avro format. Is that true that SAM kafka Source will work only for messages in Avro format?&lt;/P&gt;&lt;P&gt;Please help me to resolve the issue&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jul 2018 15:10:23 GMT</pubDate>
    <dc:creator>shivkanaujiya00</dc:creator>
    <dc:date>2018-07-18T15:10:23Z</dc:date>
    <item>
      <title>Reading JSON data  from Kafka in SAM (HDF 3.1)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Reading-JSON-data-from-Kafka-in-SAM-HDF-3-1/m-p/193501#M80864</link>
      <description>&lt;P&gt;Hi All,I am exploring around Streaming Analytics Manager, I have a flow which read messages from Kafka topic and writes it back to another Kafka topic after filtering based on some rules.&lt;BR /&gt;&lt;BR /&gt;above flow works when messages in Kafka are in Avro format but it fails in case of JSON with following error &lt;BR /&gt;"SAM error: com.hortonworks.registries.schemaregistry.serde.SerDesException: Unknown protocol id [123] received while deserializing the payload"&lt;/P&gt;&lt;P&gt;I have checked &lt;A href="https://community.hortonworks.com/questions/121234/sam-error-comhortonworksregistriesschemaregistryse.html" target="_blank"&gt;https://community.hortonworks.com/questions/121234/sam-error-comhortonworksregistriesschemaregistryse.html&lt;/A&gt; which reported it as a bug in 3.0 later resolved in 3.1. I am using 3.1 Sandbox.&lt;/P&gt;&lt;P&gt;I have  also seen Community Hello -World SAM application saying messages must be in Avro format. Is that true that SAM kafka Source will work only for messages in Avro format?&lt;/P&gt;&lt;P&gt;Please help me to resolve the issue&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 15:10:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Reading-JSON-data-from-Kafka-in-SAM-HDF-3-1/m-p/193501#M80864</guid>
      <dc:creator>shivkanaujiya00</dc:creator>
      <dc:date>2018-07-18T15:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Reading JSON data  from Kafka in SAM (HDF 3.1)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Reading-JSON-data-from-Kafka-in-SAM-HDF-3-1/m-p/193502#M80865</link>
      <description>&lt;P&gt;If you check the documentation for the Kafka Source, you will see that the 'kafka topic' field needs to pull the schema from the Schema Registry.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.1.2/bk_streaming-analytics-manager-user-guide/content/source-configurations.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.1.2/bk_streaming-analytics-manager-user-guide/content/source-configurations.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Meanwhile, the Schema Registry documentation notes that AVRO is the only supported type of schema at this time.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.1.2/bk_schema-registry-user-guide/content/create-schema-metadata.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.1.2/bk_schema-registry-user-guide/content/create-schema-metadata.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So it's possible in the future more formats will be allowed, but not at the moment. Good luck!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 03:07:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Reading-JSON-data-from-Kafka-in-SAM-HDF-3-1/m-p/193502#M80865</guid>
      <dc:creator>nlewis135031</dc:creator>
      <dc:date>2018-08-01T03:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Reading JSON data  from Kafka in SAM (HDF 3.1)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Reading-JSON-data-from-Kafka-in-SAM-HDF-3-1/m-p/193503#M80866</link>
      <description>&lt;P&gt;Thank you for the clarification. &lt;A rel="user" href="https://community.cloudera.com/users/62313/nlewis135031.html" nodeid="62313"&gt;@Nick Lewis&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 09:32:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Reading-JSON-data-from-Kafka-in-SAM-HDF-3-1/m-p/193503#M80866</guid>
      <dc:creator>shivkanaujiya00</dc:creator>
      <dc:date>2018-08-07T09:32:31Z</dc:date>
    </item>
  </channel>
</rss>

