<?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 Associate schema with Kafka topic in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Associate-schema-with-Kafka-topic/m-p/177768#M77557</link>
    <description>&lt;P&gt;
 Hi everyone,&lt;/P&gt;&lt;P&gt;
 I'm using HDF and have:&lt;/P&gt;&lt;UL&gt;
 
&lt;LI&gt;successfully created a schema (page_view) through the Schema Registry UI;&lt;/LI&gt; 
&lt;P&gt;&lt;/P&gt;&lt;LI&gt;created a Kafka topic named page_views.&lt;/LI&gt;&lt;P&gt;
 I'd like to understand how do I now associate this schema to the topic. &lt;/P&gt;&lt;P&gt;
 The intention is to now create a SAM application with that Kafka topic as the source. When setting up the Kafka source component on the SAM application, the UI isn't able to get the associated schema from Schema Registry (screenshot attached).&lt;/P&gt;&lt;P&gt;
 This is how the topic was created:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;/usr/hdf/current/kafka-broker/bin/kafka-topics.sh --create --zookeeper sandbox-hdf.hortonworks.com:2181 --replication-factor 1 --partitions 3 --topic page_views
&lt;/PRE&gt;&lt;P&gt;
 I've also set the registry.url parameter under SAM's section on Ambari to &lt;A href="http://sandbox-hdf.hortonworks.com:7788/api/v1" target="_blank" rel="nofollow noopener noreferrer"&gt;http://sandbox-hdf.hortonworks.com:7788/api/v1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Any help would greatly appreciated!&lt;/P&gt;&lt;P&gt;
 &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="72409-screen-shot-2018-04-23-at-163401.png" style="width: 616px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19539i2274F8F7C0863543/image-size/medium?v=v2&amp;amp;px=400" role="button" title="72409-screen-shot-2018-04-23-at-163401.png" alt="72409-screen-shot-2018-04-23-at-163401.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/UL&gt;</description>
    <pubDate>Sun, 18 Aug 2019 09:39:10 GMT</pubDate>
    <dc:creator>alexandre_m_car</dc:creator>
    <dc:date>2019-08-18T09:39:10Z</dc:date>
    <item>
      <title>Associate schema with Kafka topic</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Associate-schema-with-Kafka-topic/m-p/177768#M77557</link>
      <description>&lt;P&gt;
 Hi everyone,&lt;/P&gt;&lt;P&gt;
 I'm using HDF and have:&lt;/P&gt;&lt;UL&gt;
 
&lt;LI&gt;successfully created a schema (page_view) through the Schema Registry UI;&lt;/LI&gt; 
&lt;P&gt;&lt;/P&gt;&lt;LI&gt;created a Kafka topic named page_views.&lt;/LI&gt;&lt;P&gt;
 I'd like to understand how do I now associate this schema to the topic. &lt;/P&gt;&lt;P&gt;
 The intention is to now create a SAM application with that Kafka topic as the source. When setting up the Kafka source component on the SAM application, the UI isn't able to get the associated schema from Schema Registry (screenshot attached).&lt;/P&gt;&lt;P&gt;
 This is how the topic was created:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;/usr/hdf/current/kafka-broker/bin/kafka-topics.sh --create --zookeeper sandbox-hdf.hortonworks.com:2181 --replication-factor 1 --partitions 3 --topic page_views
&lt;/PRE&gt;&lt;P&gt;
 I've also set the registry.url parameter under SAM's section on Ambari to &lt;A href="http://sandbox-hdf.hortonworks.com:7788/api/v1" target="_blank" rel="nofollow noopener noreferrer"&gt;http://sandbox-hdf.hortonworks.com:7788/api/v1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Any help would greatly appreciated!&lt;/P&gt;&lt;P&gt;
 &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="72409-screen-shot-2018-04-23-at-163401.png" style="width: 616px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19539i2274F8F7C0863543/image-size/medium?v=v2&amp;amp;px=400" role="button" title="72409-screen-shot-2018-04-23-at-163401.png" alt="72409-screen-shot-2018-04-23-at-163401.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/UL&gt;</description>
      <pubDate>Sun, 18 Aug 2019 09:39:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Associate-schema-with-Kafka-topic/m-p/177768#M77557</guid>
      <dc:creator>alexandre_m_car</dc:creator>
      <dc:date>2019-08-18T09:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Associate schema with Kafka topic</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Associate-schema-with-Kafka-topic/m-p/177769#M77558</link>
      <description>&lt;P&gt;Found the solution to this.&lt;/P&gt;&lt;P&gt;Just in case you run into the same problem, both schema and Kafka topic should have the exact same name.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 16:46:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Associate-schema-with-Kafka-topic/m-p/177769#M77558</guid>
      <dc:creator>alexandre_m_car</dc:creator>
      <dc:date>2018-04-24T16:46:56Z</dc:date>
    </item>
  </channel>
</rss>

