<?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: Topic creation and deletion are not protected after enabling Kerberos in Kafka in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Topic-creation-and-deletion-are-not-protected-after-enabling/m-p/290110#M214679</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt;&amp;nbsp;I have the same problem but with cloudera, do you know what procedure I should follow to configure the zookeeper ACL but with kafka and sentry? Thank you&lt;/P&gt;</description>
    <pubDate>Wed, 19 Feb 2020 20:11:58 GMT</pubDate>
    <dc:creator>WilsonLozano</dc:creator>
    <dc:date>2020-02-19T20:11:58Z</dc:date>
    <item>
      <title>Topic creation and deletion are not protected after enabling Kerberos in Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Topic-creation-and-deletion-are-not-protected-after-enabling/m-p/268767#M206406</link>
      <description>&lt;P&gt;I have enabled Kerberos authentication for Kafka as the &lt;A href="https://www.cloudera.com/documentation/kafka/latest/topics/kafka_security.html#concept_lcn_4mm_s5" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt;&amp;nbsp;suggests and indeed producing to topics and consuming from topics requires authentication. Surprisingly, topic creation and deletion do not require authentication. Could somebody tell me whether this goes wrong ? Really appreciate it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CDH version: 5.15.1&lt;/P&gt;
&lt;P&gt;CDK version: 4.1.0&lt;/P&gt;
&lt;P&gt;test command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;kafka-topics --create --zookeeper &amp;lt;zookeeper-host&amp;gt;:2181 --replication-factor 2 --partitions 3 --topic test2
kafka-topics --delete --zookeeper &amp;lt;zookeeper-host&amp;gt;:2181 --topic test2&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 16:10:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Topic-creation-and-deletion-are-not-protected-after-enabling/m-p/268767#M206406</guid>
      <dc:creator>iamabug</dc:creator>
      <dc:date>2019-08-23T16:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Topic creation and deletion are not protected after enabling Kerberos in Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Topic-creation-and-deletion-are-not-protected-after-enabling/m-p/268787#M206418</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/68622"&gt;@iamabug&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It's a known limitation in Kafka where the kafka-topics tool communicates directly with Zookeeper. When you create a topic, all the tool does is connect to Zookeeper, creates a znode representing this topic and then sets some data as a JSON string (the metadata for the topic).&lt;BR /&gt;&lt;BR /&gt;There has been work to develop Java admin clients which made some progress:&lt;BR /&gt;&lt;A href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-117%3A+Add+a+public+AdminClient+API+for+Kafka+admin+operations#KIP-117:AddapublicAdminClientAPIforKafkaadminoperations-FutureWork" target="_blank"&gt;https://cwiki.apache.org/confluence/display/KAFKA/KIP-117%3A+Add+a+public+AdminClient+API+for+Kafka+admin+operations#KIP-117:AddapublicAdminClientAPIforKafkaadminoperations-FutureWork&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;However, all that's left is to have command line tools that leverage those Java APIs and that's a work in progress:&lt;BR /&gt;&lt;A href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-4+-+Command+line+and+centralized+administrative+operations" target="_blank"&gt;https://cwiki.apache.org/confluence/display/KAFKA/KIP-4+-+Command+line+and+centralized+administrative+operations&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 13:45:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Topic-creation-and-deletion-are-not-protected-after-enabling/m-p/268787#M206418</guid>
      <dc:creator>w@leed</dc:creator>
      <dc:date>2019-08-23T13:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Topic creation and deletion are not protected after enabling Kerberos in Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Topic-creation-and-deletion-are-not-protected-after-enabling/m-p/268880#M206459</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/68622"&gt;@iamabug&lt;/a&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;There is a lot more than just kerberizing the cluster and you are good to go. Have you enabled SSL also? Can you share a tokenized version of the below files? Basically, the ACL in zk is the key to who can do what and usually the Kafka admin is the only one allowed!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;server.properties [listeners, advertised.listeners,authorizer.class.name,sasl.enabled.mechanism and super.users]&lt;/LI&gt;&lt;LI&gt;Kafka_server_jaas.conf&lt;/LI&gt;&lt;LI&gt;Kafka_client_jaas.conf&lt;/LI&gt;&lt;LI&gt;kafka_client_kerberos.properties&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hope that helps&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2019 18:59:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Topic-creation-and-deletion-are-not-protected-after-enabling/m-p/268880#M206459</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-08-25T18:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Topic creation and deletion are not protected after enabling Kerberos in Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Topic-creation-and-deletion-are-not-protected-after-enabling/m-p/268919#M206491</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 07:46:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Topic-creation-and-deletion-are-not-protected-after-enabling/m-p/268919#M206491</guid>
      <dc:creator>iamabug</dc:creator>
      <dc:date>2019-08-26T07:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Topic creation and deletion are not protected after enabling Kerberos in Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Topic-creation-and-deletion-are-not-protected-after-enabling/m-p/268920#M206492</link>
      <description>&lt;P&gt;Thanks for your answer. I now believe that ACL in Zookeeper may be the solution here.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 07:50:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Topic-creation-and-deletion-are-not-protected-after-enabling/m-p/268920#M206492</guid>
      <dc:creator>iamabug</dc:creator>
      <dc:date>2019-08-26T07:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Topic creation and deletion are not protected after enabling Kerberos in Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Topic-creation-and-deletion-are-not-protected-after-enabling/m-p/268930#M206501</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/68622"&gt;@iamabug&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you now comfortable proceeding? If you need some help don't hesitate to ask.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 12:03:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Topic-creation-and-deletion-are-not-protected-after-enabling/m-p/268930#M206501</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-08-26T12:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Topic creation and deletion are not protected after enabling Kerberos in Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Topic-creation-and-deletion-are-not-protected-after-enabling/m-p/268931#M206502</link>
      <description>&lt;P&gt;It's really nice of you. I would definitely ask for your help when something tricky comes up. Thank you very much.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 12:07:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Topic-creation-and-deletion-are-not-protected-after-enabling/m-p/268931#M206502</guid>
      <dc:creator>iamabug</dc:creator>
      <dc:date>2019-08-26T12:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Topic creation and deletion are not protected after enabling Kerberos in Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Topic-creation-and-deletion-are-not-protected-after-enabling/m-p/290110#M214679</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt;&amp;nbsp;I have the same problem but with cloudera, do you know what procedure I should follow to configure the zookeeper ACL but with kafka and sentry? Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 20:11:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Topic-creation-and-deletion-are-not-protected-after-enabling/m-p/290110#M214679</guid>
      <dc:creator>WilsonLozano</dc:creator>
      <dc:date>2020-02-19T20:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Topic creation and deletion are not protected after enabling Kerberos in Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Topic-creation-and-deletion-are-not-protected-after-enabling/m-p/290119#M214685</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/73386"&gt;@WilsonLozano&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As this thread is older and was marked 'Solved back in August of 2019 you would have a better chance of receiving a resolution by &lt;A href="https://community.cloudera.com/t5/forums/postpage/board-id/Questions" target="_blank" rel="noopener"&gt;starting a new thread&lt;/A&gt;. This will also provide the opportunity to provide details specific to your environment, version of CDH, etc. that could aid others in providing a more accurate answer to your question.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 00:44:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Topic-creation-and-deletion-are-not-protected-after-enabling/m-p/290119#M214685</guid>
      <dc:creator>ask_bill_brooks</dc:creator>
      <dc:date>2020-02-20T00:44:52Z</dc:date>
    </item>
  </channel>
</rss>

