<?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 Re: nifi 0.6.1 getkafka processor error: cannot connect to kafka in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/nifi-0-6-1-getkafka-processor-error-cannot-connect-to-kafka/m-p/146667#M32404</link>
    <description>&lt;P&gt;Can you describe what version of Kafka you're running.  Have you been able to publish or consume messages from this topic?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jun 2016 08:04:18 GMT</pubDate>
    <dc:creator>JoeWitt</dc:creator>
    <dc:date>2016-06-21T08:04:18Z</dc:date>
    <item>
      <title>nifi 0.6.1 getkafka processor error: cannot connect to kafka</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/nifi-0-6-1-getkafka-processor-error-cannot-connect-to-kafka/m-p/146666#M32403</link>
      <description>ERROR
3491c89e-35c2-4443-a6b8-03303193629a
&lt;P&gt;GetKafka[id=3491c89e-35c2-4443-a6b8-03303193629a] GetKafka[id=3491c89e-35c2-4443-a6b8-03303193629a] failed to process session due to java.lang.IllegalStateException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Failed to retrieve partitions for topic test: java.lang.IllegalStateException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Failed to retrieve partitions for topic test&lt;/P&gt;&lt;P&gt;Please let me know if i need to more properties rather than just the default properties in getKafka processor. Please let me know. thanks&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 18:07:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/nifi-0-6-1-getkafka-processor-error-cannot-connect-to-kafka/m-p/146666#M32403</guid>
      <dc:creator>bigspark</dc:creator>
      <dc:date>2016-06-20T18:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: nifi 0.6.1 getkafka processor error: cannot connect to kafka</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/nifi-0-6-1-getkafka-processor-error-cannot-connect-to-kafka/m-p/146667#M32404</link>
      <description>&lt;P&gt;Can you describe what version of Kafka you're running.  Have you been able to publish or consume messages from this topic?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 08:04:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/nifi-0-6-1-getkafka-processor-error-cannot-connect-to-kafka/m-p/146667#M32404</guid>
      <dc:creator>JoeWitt</dc:creator>
      <dc:date>2016-06-21T08:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: nifi 0.6.1 getkafka processor error: cannot connect to kafka</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/nifi-0-6-1-getkafka-processor-error-cannot-connect-to-kafka/m-p/146668#M32405</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/364/jwitt.html" nodeid="364"&gt;@jwitt&lt;/A&gt; iam using kafka 0.10.0.0. Just wondering the GetKafka processor doest have kafka broker config property how does it connect to kafka. It has zookeper property and topic to connect to. Any more properties i need to add. With just the default properties iam unable to connect to kafka running locally. thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 15:04:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/nifi-0-6-1-getkafka-processor-error-cannot-connect-to-kafka/m-p/146668#M32405</guid>
      <dc:creator>bigspark</dc:creator>
      <dc:date>2016-06-21T15:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: nifi 0.6.1 getkafka processor error: cannot connect to kafka</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/nifi-0-6-1-getkafka-processor-error-cannot-connect-to-kafka/m-p/146669#M32406</link>
      <description>&lt;P&gt;
	Hello &lt;A rel="user" href="https://community.cloudera.com/users/1952/suri-1415.html" nodeid="1952"&gt;@SparkRocks&lt;/A&gt; , I am running Kafka 0.10.0.0 and successfully connected NiFi 0.6.1 GetKafka processor to it and consumed messages. All I had to do was specifying ZooKeeper Connection String and Topic Name.&lt;/P&gt;&lt;P&gt;
	As described in   &lt;A href="http://kafka.apache.org/documentation.html#upgrade"&gt;Kafka docs&lt;/A&gt;, Kafka 0.10.0.0 supports old consumer that depends on Zookeeper which doesn't have brokers configuration. NiFi GetKafka uses Kafka library ver 0.8.2.2, so it should work with 0.10.0.0.&lt;/P&gt;&lt;P&gt;
	Since I was running Zookeeper and Kafka on Docker instance, I set Zookeeper Connection String as "docker-host-address:2181". &lt;/P&gt;&lt;P&gt;Can you try to find where Zookeeper is running on, and NiFi has access to Zk? An easy way to test would be executing following command from where NiFi is running:&lt;/P&gt;&lt;P&gt;
	 telnet zookeeper-host zookeeper-port&lt;/P&gt;
&lt;PRE&gt;ex)$ telnet 192.168.99.100 2181
Trying 192.168.99.100...
Connected to cb675348f5c8.
Escape character is '^]'.
(Ctrl C to disconnect)
&lt;/PRE&gt;&lt;P&gt;
If it's not accessible, a msg like 'Connection refused, Unable to connect to remote host' will be returned instead. Hope this helps.&lt;/P&gt;&lt;P&gt;Looking at the &lt;A href="https://community.hortonworks.com/questions/41304/nifi-061-getkafka-and-puts3-example-template.html"&gt;other question you posted&lt;/A&gt;, it seems you've already got GetKafka connected successfully. Congratulations! If possible, please share what configuration was required for future reference &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2016 09:24:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/nifi-0-6-1-getkafka-processor-error-cannot-connect-to-kafka/m-p/146669#M32406</guid>
      <dc:creator>kkawamura</dc:creator>
      <dc:date>2016-06-27T09:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: nifi 0.6.1 getkafka processor error: cannot connect to kafka</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/nifi-0-6-1-getkafka-processor-error-cannot-connect-to-kafka/m-p/146670#M32407</link>
      <description>&lt;P&gt;hi &lt;A rel="user" href="https://community.cloudera.com/users/3908/kkawamura.html" nodeid="3908"&gt;@kkawamura&lt;/A&gt; i have used the same parameters zookeeper url &amp;amp; port and also the topic name. I thought it was about kafka versions but my issue was network connection issues with zookeeper. But its resolved now. Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; However as you looked at the other question just wondering any suggestions on connecting to S3 from as iam getting permission issues as described in the other question. Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2016 15:59:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/nifi-0-6-1-getkafka-processor-error-cannot-connect-to-kafka/m-p/146670#M32407</guid>
      <dc:creator>bigspark</dc:creator>
      <dc:date>2016-06-27T15:59:44Z</dc:date>
    </item>
  </channel>
</rss>

