<?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: Error in NiFi Flow when using ConsumeKafka_0_10 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-NiFi-Flow-when-using-ConsumeKafka-0-10/m-p/221140#M60522</link>
    <description>&lt;P&gt;@Matt Clarke, Does the nifi.kerberos.krb5.file= should have the /&amp;lt;path-to&amp;gt;/kafka-jaas.conf?&lt;/P&gt;</description>
    <pubDate>Tue, 31 Oct 2017 05:53:32 GMT</pubDate>
    <dc:creator>bsivalingam83</dc:creator>
    <dc:date>2017-10-31T05:53:32Z</dc:date>
    <item>
      <title>Error in NiFi Flow when using ConsumeKafka_0_10</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-NiFi-Flow-when-using-ConsumeKafka-0-10/m-p/221137#M60519</link>
      <description>&lt;P&gt;Team,&lt;/P&gt;&lt;P&gt;I am getting below error when i am trying to consume kafka messages from kerberized HDP cluster (where Kafka clients are installed ) from non-kerberized HDF (NIFI).&lt;/P&gt;&lt;PRE&gt;failed to process session due to org.apache.kafka.common.KafkaException: Failed to construct kafka consumer: org.apache.kafka.common.KafkaException: Failed to construct kafka consumer&lt;/PRE&gt;&lt;P&gt;Please let me know if there are any steps that i need to follow .&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bharadwaj&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2017 03:12:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-NiFi-Flow-when-using-ConsumeKafka-0-10/m-p/221137#M60519</guid>
      <dc:creator>bhara</dc:creator>
      <dc:date>2017-05-05T03:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error in NiFi Flow when using ConsumeKafka_0_10</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-NiFi-Flow-when-using-ConsumeKafka-0-10/m-p/221138#M60520</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18027/bharadwajbhimavarapu.html" nodeid="18027"&gt;@Bharadwaj Bhimavarapu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Whether you are using the ConsumeKafka or PublishKafka processors, if Kafka is kerberized you will need to setup a JAAS file in your NiFi which provides the keytab and principal used to establish that secured connection.&lt;/P&gt;&lt;P&gt;By default the /etc/krb5.conf will be used, but you can also tell NiFi to use a different krb5.conf file via a property in the  nifi.properties (nifi.kerberos.krb5.file=).&lt;/P&gt;&lt;P&gt;You will need to create a JAAS file (example: kafka-jaas.conf) that contains the following (Update to use appropriate keytab and principal for your user):&lt;/P&gt;&lt;PRE&gt;KafkaClient{  
  com.sun.security.auth.module.Krb5LoginModule required
  useKeyTab=true
  storeKey=true
  keyTab="nifi.keytab"
  serviceName="kafka"
  principal="nifi@DOMAIN";
};&lt;/PRE&gt;&lt;P&gt;Add the following line to NiFi's bootstrap.conf file (make sure arg number 20 is not already being used, if so change to an unused number):&lt;/P&gt;&lt;PRE&gt;java.arg.20=-Djava.security.auth.login.config=/&amp;lt;path-to&amp;gt;/kafka-jaas.conf&lt;/PRE&gt;&lt;P&gt;Update the following configuration properties in your ConsumeKafka processor:&lt;/P&gt;&lt;PRE&gt;SecurityProtocol= SASL_PLAINTEXT
ServiceName= kafka&lt;/PRE&gt;&lt;P&gt;Basically you are setting up the Kafka client kerberos environment for your NiFi JVM.&lt;/P&gt;&lt;P&gt;If this is a NiFi cluster, you will need to to the above on every node.&lt;/P&gt;&lt;P&gt;You will need to restart NiFi for these changes to take affect.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2017 04:03:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-NiFi-Flow-when-using-ConsumeKafka-0-10/m-p/221138#M60520</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2017-05-05T04:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error in NiFi Flow when using ConsumeKafka_0_10</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-NiFi-Flow-when-using-ConsumeKafka-0-10/m-p/221139#M60521</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/525/mclark.html" nodeid="525"&gt;@Matt Clarke&lt;/A&gt;&lt;P&gt;Thanks Matt .. it worked .&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2017 09:43:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-NiFi-Flow-when-using-ConsumeKafka-0-10/m-p/221139#M60521</guid>
      <dc:creator>bhara</dc:creator>
      <dc:date>2017-05-05T09:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error in NiFi Flow when using ConsumeKafka_0_10</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-NiFi-Flow-when-using-ConsumeKafka-0-10/m-p/221140#M60522</link>
      <description>&lt;P&gt;@Matt Clarke, Does the nifi.kerberos.krb5.file= should have the /&amp;lt;path-to&amp;gt;/kafka-jaas.conf?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 05:53:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-NiFi-Flow-when-using-ConsumeKafka-0-10/m-p/221140#M60522</guid>
      <dc:creator>bsivalingam83</dc:creator>
      <dc:date>2017-10-31T05:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error in NiFi Flow when using ConsumeKafka_0_10</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-NiFi-Flow-when-using-ConsumeKafka-0-10/m-p/221141#M60523</link>
      <description>&lt;P&gt;@Matt, Even after i configure as per the instructions... Am still getting the same error...&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 03:43:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-NiFi-Flow-when-using-ConsumeKafka-0-10/m-p/221141#M60523</guid>
      <dc:creator>bsivalingam83</dc:creator>
      <dc:date>2017-11-08T03:43:36Z</dc:date>
    </item>
  </channel>
</rss>

