<?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 How to setup kafka cluster on hortonworks platform in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-kafka-cluster-on-hortonworks-platform/m-p/175058#M80107</link>
    <description>&lt;P&gt;Can some one point me in right direction of how to setup KAFKA cluster on HDP platform.&lt;/P&gt;&lt;P&gt;To setup kafka clusters usually we add broker.id=1,2,3... but hortonworks doesn't provide this option to add in thr.. &lt;/P&gt;&lt;P&gt;Issue: is when i try to create kafka topics i am able to create with 2,3 partitions and replicas 2,3.. but starting consumer and producer start throwing exception unknown topic or partition. My guess is it;s due to kafka HA configuration..&lt;/P&gt;</description>
    <pubDate>Sat, 30 Jun 2018 21:49:44 GMT</pubDate>
    <dc:creator>pankaj_pankasin</dc:creator>
    <dc:date>2018-06-30T21:49:44Z</dc:date>
    <item>
      <title>How to setup kafka cluster on hortonworks platform</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-kafka-cluster-on-hortonworks-platform/m-p/175058#M80107</link>
      <description>&lt;P&gt;Can some one point me in right direction of how to setup KAFKA cluster on HDP platform.&lt;/P&gt;&lt;P&gt;To setup kafka clusters usually we add broker.id=1,2,3... but hortonworks doesn't provide this option to add in thr.. &lt;/P&gt;&lt;P&gt;Issue: is when i try to create kafka topics i am able to create with 2,3 partitions and replicas 2,3.. but starting consumer and producer start throwing exception unknown topic or partition. My guess is it;s due to kafka HA configuration..&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jun 2018 21:49:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-kafka-cluster-on-hortonworks-platform/m-p/175058#M80107</guid>
      <dc:creator>pankaj_pankasin</dc:creator>
      <dc:date>2018-06-30T21:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup kafka cluster on hortonworks platform</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-kafka-cluster-on-hortonworks-platform/m-p/175059#M80108</link>
      <description>&lt;P&gt;Hey &lt;A rel="user" href="https://community.cloudera.com/users/80183/pankajpankasin.html" nodeid="80183"&gt;@Pankaj Singh&lt;/A&gt;! &lt;BR /&gt;Not sure if I get it right, but, how are you consuming/producing to/from kafka topics? &lt;BR /&gt;Through kafka-console-consumer/kafka-console-producer? &lt;BR /&gt;&lt;BR /&gt;Could you share with us the output from the following commands?&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;[root@node2 ~]# kafka-topics.sh --zookeeper node1:2181,node2:2181,node3:2181 --describe --topic vini
Topic:vini  PartitionCount:3  ReplicationFactor:3 Configs:message.timestamp.type=LogAppendTime
  Topic: vini Partition: 0  Leader: 1001  Replicas: 1001,1002,1003  Isr: 1002,1003,1001
  Topic: vini Partition: 1  Leader: 1002  Replicas: 1002,1003,1001  Isr: 1002,1003,1001
  Topic: vini Partition: 2  Leader: 1003  Replicas: 1003,1001,1002  Isr: 1002,1003,1001
[root@node2 ~]# kafka-console-producer.sh --broker-list node2:6667 --topic vini 
&amp;gt;testing testing
&amp;gt;this is a test        
&amp;gt;hcc &lt;BR /&gt;[root@node2 ~]# kafka-console-consumer.sh --bootstrap-server node2:6667 --topic vini --from-beginning
this is a test
testing testing
hcc 
[root@node2 ~]# zookeeper-client
[zk: localhost:2181(CONNECTED) 9] ls /brokers/topics/vini/partitions 
[0, 1, 2]&lt;/PRE&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 13:50:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-kafka-cluster-on-hortonworks-platform/m-p/175059#M80108</guid>
      <dc:creator>vmurakami</dc:creator>
      <dc:date>2018-07-02T13:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup kafka cluster on hortonworks platform</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-kafka-cluster-on-hortonworks-platform/m-p/175060#M80109</link>
      <description>&lt;P&gt;I apology for not putting the answer earlier. I was able to resolve the issue. Issue was due to ranger policy setup on Kafka topics.&lt;/P&gt;&lt;P&gt;After turning off the ranger policy it works out of the box. Kafka cluster creates a meta.properties folder. HDP infra setups the Kafka in cluster from start&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 14:44:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-setup-kafka-cluster-on-hortonworks-platform/m-p/175060#M80109</guid>
      <dc:creator>pankaj_pankasin</dc:creator>
      <dc:date>2018-07-02T14:44:38Z</dc:date>
    </item>
  </channel>
</rss>

