<?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: GetKafka not getting messages in Apache Nifi in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/GetKafka-not-getting-messages-in-Apache-Nifi/m-p/163543#M36833</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/12277/utishraj.html" nodeid="12277"&gt;@john doe&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I recently ran PutKafka and GetKafka in NiFi (connecting to a local VM).  I found that adding the FQDN and ip to /etc/hosts made this work for me.&lt;/P&gt;&lt;P&gt;For example if the FQDN is host1.local and IP is 192.168.4.162 then adding&lt;/P&gt;&lt;P&gt;192.168.4.162 host1.local to /etc/hosts &lt;/P&gt;&lt;P&gt;Made this work.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Aug 2016 02:32:43 GMT</pubDate>
    <dc:creator>RyanCicak</dc:creator>
    <dc:date>2016-08-09T02:32:43Z</dc:date>
    <item>
      <title>GetKafka not getting messages in Apache Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/GetKafka-not-getting-messages-in-Apache-Nifi/m-p/163541#M36831</link>
      <description>&lt;P&gt;I'm trying to get the messages using a GetKafka processor but I'm not able to get it. I tested consuming messages using Kafka command line consumer and it works. I was also able to use PutKafka processor successfully to put the messages in the topic. Attached my settings where I set the Zookeeper Connection String and Topic Name. When I run the flow, I don't see any errors in the processors. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6304-nifi.jpg" style="width: 1014px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20501iD38DDF50A60A37DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6304-nifi.jpg" alt="6304-nifi.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I see an exception in nifi-app.log:
2016-08-03 09:34:33,722 &lt;EM&gt;WARN [70e1df87-6097-4ed0-9a40-7e36f9be6921_mydomain.com-1470231250839-1fbd0cfe-leader-finder-thread] kafka.client.ClientUtils$ Fetching topic metadata with correlation id 0 for topics [Set(test)] from broker [id:0,host:DataSlave1.mydomain.com,
port:9092] failed                                                                                                                                                                                                                                                                
java.nio.channels.ClosedByInterruptException: null                                                                                                                                                                                                                                
        at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202) ~[na:1.8.0_101]                                                                                                                                                          
        at sun.nio.ch.SocketChannelImpl.poll(SocketChannelImpl.java:957) ~[na:1.8.0_101]&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;Versions: Kafka (0.8): 2.10-0.8.2.1, Nifi: 0.7.0 Am I missing anything? &lt;/P&gt;&lt;P&gt;Also tested with Kafka 0.10 and had the same problem. Thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:33:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/GetKafka-not-getting-messages-in-Apache-Nifi/m-p/163541#M36831</guid>
      <dc:creator>johnydoe</dc:creator>
      <dc:date>2019-08-18T11:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: GetKafka not getting messages in Apache Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/GetKafka-not-getting-messages-in-Apache-Nifi/m-p/163542#M36832</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/12277/utishraj.html" nodeid="12277"&gt;@john doe&lt;/A&gt; (by the way love the name)&lt;/P&gt;&lt;P&gt;Take a look at this &lt;A href="https://community.hortonworks.com/questions/44374/nifi-putkafka-and-verifying-published-messages.html" target="_blank"&gt;https://community.hortonworks.com/questions/44374/nifi-putkafka-and-verifying-published-messages.html&lt;/A&gt; -&amp;gt; it looks like the same issue.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 01:29:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/GetKafka-not-getting-messages-in-Apache-Nifi/m-p/163542#M36832</guid>
      <dc:creator>RyanCicak</dc:creator>
      <dc:date>2016-08-04T01:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: GetKafka not getting messages in Apache Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/GetKafka-not-getting-messages-in-Apache-Nifi/m-p/163543#M36833</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/12277/utishraj.html" nodeid="12277"&gt;@john doe&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I recently ran PutKafka and GetKafka in NiFi (connecting to a local VM).  I found that adding the FQDN and ip to /etc/hosts made this work for me.&lt;/P&gt;&lt;P&gt;For example if the FQDN is host1.local and IP is 192.168.4.162 then adding&lt;/P&gt;&lt;P&gt;192.168.4.162 host1.local to /etc/hosts &lt;/P&gt;&lt;P&gt;Made this work.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 02:32:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/GetKafka-not-getting-messages-in-Apache-Nifi/m-p/163543#M36833</guid>
      <dc:creator>RyanCicak</dc:creator>
      <dc:date>2016-08-09T02:32:43Z</dc:date>
    </item>
  </channel>
</rss>

