<?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: security kafka in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/security-kafka/m-p/278779#M208231</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/68603"&gt;@Peruvian81&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kafka has multiple ways to be secured:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SSL Kerberos&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;PLAINTEXT&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SSL&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SASL_PLAINTEXT&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SASL_SSL&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you already are using Kerberos, you can check the document below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.4/authentication-with-kerberos/content/kerberos_kafka_configuring_kafka_for_kerberos_using_ambari.html" target="_blank" rel="noopener"&gt;https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.4/authentication-with-kerberos/content/kerberos_kafka_configuring_kafka_for_kerberos_using_ambari.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For your clients, you can use below command line depending of the Kafka version:&lt;/P&gt;&lt;P&gt;consumer example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;bin/kafka-console-consumer.sh --bootstrap-server &amp;lt;kafkaHost&amp;gt;:&amp;lt;kafkaPort&amp;gt; --topic &amp;lt;topicName&amp;gt; --security-protocol SASL_PLAINTEXT&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For newer versions, consumer example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;bin/kafka-console-consumer.sh --topic &amp;lt;topicName&amp;gt; --bootstrap-server &amp;lt;brokerHost&amp;gt;:&amp;lt;brokerPort&amp;gt; --consumer-property security.protocol=SASL_PLAINTEXT&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Make sure to get a valid Kerberos ticket before running these commands (kinit -kt keytab principal)&lt;/P&gt;&lt;P&gt;** E&lt;SPAN&gt;nsure the Kerberos principal has permissions to publish/consume data from/to the selected topic&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2019 19:24:18 GMT</pubDate>
    <dc:creator>ManuelCalvo</dc:creator>
    <dc:date>2019-10-03T19:24:18Z</dc:date>
    <item>
      <title>security kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/security-kafka/m-p/278740#M208205</link>
      <description>&lt;P&gt;Hello Friends&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could help me to secure my Kafka servers for both Broker and client. As additional data I am using a KDC. As I see I currently have the security.inter.broker.protocol SASL_PLAINTEXT I don't know if it is correct or how I should secure this service.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 10:32:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/security-kafka/m-p/278740#M208205</guid>
      <dc:creator>Peruvian81</dc:creator>
      <dc:date>2019-10-03T10:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: security kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/security-kafka/m-p/278779#M208231</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/68603"&gt;@Peruvian81&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kafka has multiple ways to be secured:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SSL Kerberos&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;PLAINTEXT&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SSL&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SASL_PLAINTEXT&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SASL_SSL&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you already are using Kerberos, you can check the document below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.4/authentication-with-kerberos/content/kerberos_kafka_configuring_kafka_for_kerberos_using_ambari.html" target="_blank" rel="noopener"&gt;https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.4/authentication-with-kerberos/content/kerberos_kafka_configuring_kafka_for_kerberos_using_ambari.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For your clients, you can use below command line depending of the Kafka version:&lt;/P&gt;&lt;P&gt;consumer example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;bin/kafka-console-consumer.sh --bootstrap-server &amp;lt;kafkaHost&amp;gt;:&amp;lt;kafkaPort&amp;gt; --topic &amp;lt;topicName&amp;gt; --security-protocol SASL_PLAINTEXT&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For newer versions, consumer example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;bin/kafka-console-consumer.sh --topic &amp;lt;topicName&amp;gt; --bootstrap-server &amp;lt;brokerHost&amp;gt;:&amp;lt;brokerPort&amp;gt; --consumer-property security.protocol=SASL_PLAINTEXT&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Make sure to get a valid Kerberos ticket before running these commands (kinit -kt keytab principal)&lt;/P&gt;&lt;P&gt;** E&lt;SPAN&gt;nsure the Kerberos principal has permissions to publish/consume data from/to the selected topic&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 19:24:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/security-kafka/m-p/278779#M208231</guid>
      <dc:creator>ManuelCalvo</dc:creator>
      <dc:date>2019-10-03T19:24:18Z</dc:date>
    </item>
  </channel>
</rss>

