<?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: Only one of inter.broker.listener.name and security.inter.broker.protocol should be set. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Only-one-of-inter-broker-listener-name-and-security-inter/m-p/87252#M45352</link>
    <description>&lt;P&gt;Hi I know this is super late, but I was able to resolve this by doing this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;listeners=PLAINTEXT://0.0.0.0:19092,EXTERNAL://0.0.0.0:9092
listener.security.protocol.map=PLAINTEXT:PLAINTEXT,EXTERNAL:PLAINTEXT
advertised.listeners=PLAINTEXT://internal-broker-node-hostname:19092,EXTERNAL://public-broker-ip:9092&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I also changed the security.inter.broker.protocol to PLAINTEXT&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2019 18:38:27 GMT</pubDate>
    <dc:creator>jdschm55</dc:creator>
    <dc:date>2019-03-05T18:38:27Z</dc:date>
    <item>
      <title>Only one of inter.broker.listener.name and security.inter.broker.protocol should be set.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Only-one-of-inter-broker-listener-name-and-security-inter/m-p/80297#M45351</link>
      <description>&lt;P&gt;In a PoC&amp;nbsp;cluster provided with kafka(1 broker) I'm trying to send messages to the cluster with an external producer through a public IP. My cluster nodes are hosted in Azure and all of them are reachable from my local machine where the external producer is running.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following this great article&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://rmoff.net/2018/08/02/kafka-listeners-explained/" target="_blank" rel="nofollow noreferrer"&gt;https://rmoff.net/2018/08/02/kafka-listeners-explained/&lt;/A&gt;I figured out the kafka listeners config I need as this broker public IP is only reachable from my local machine and inside the cluster they can only communicate using their internal hostnames:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;listeners=INTERNAL://0.0.0.0:19092,EXTERNAL://0.0.0.0:9092
listener.security.protocol.map=INTERNAL:PLAINTEXT,EXTERNAL:PLAINTEXT
advertised.listeners=INTERNAL://internal-broker-node-hostname:19092,EXTERNAL://public-broker-ip:9092
inter.broker.listener.name=INTERNAL&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With this configuration when I try to start the broker I get this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;org.apache.kafka.common.config.ConfigException: Only one of inter.broker.listener.name and security.inter.broker.protocol should be set.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which makes sense as in Kafka doc for this property&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;inter.broker.listener.name&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;they say:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Name of listener used for communication between brokers. If this is unset, the listener name is defined by security.inter.broker.protocol. It is an error to set this and security.inter.broker.protocol properties at the same time.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I'm facing is that I'm unable to unset&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;security.inter.broker.protocol&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;through the cloudera manager as I only have the option of switching options in a radio button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://i.stack.imgur.com/9G5E8.png" target="_blank" rel="nofollow noreferrer"&gt;&lt;IMG src="https://ip1.i.lithium.com/1030c712825d5a08508be00f3798fd4edca1a48e/68747470733a2f2f692e737461636b2e696d6775722e636f6d2f39473545382e706e67" border="0" alt="enter image description here" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I unset that property?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:44:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Only-one-of-inter-broker-listener-name-and-security-inter/m-p/80297#M45351</guid>
      <dc:creator>maqueas</dc:creator>
      <dc:date>2022-09-16T13:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Only one of inter.broker.listener.name and security.inter.broker.protocol should be set.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Only-one-of-inter-broker-listener-name-and-security-inter/m-p/87252#M45352</link>
      <description>&lt;P&gt;Hi I know this is super late, but I was able to resolve this by doing this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;listeners=PLAINTEXT://0.0.0.0:19092,EXTERNAL://0.0.0.0:9092
listener.security.protocol.map=PLAINTEXT:PLAINTEXT,EXTERNAL:PLAINTEXT
advertised.listeners=PLAINTEXT://internal-broker-node-hostname:19092,EXTERNAL://public-broker-ip:9092&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I also changed the security.inter.broker.protocol to PLAINTEXT&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 18:38:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Only-one-of-inter-broker-listener-name-and-security-inter/m-p/87252#M45352</guid>
      <dc:creator>jdschm55</dc:creator>
      <dc:date>2019-03-05T18:38:27Z</dc:date>
    </item>
  </channel>
</rss>

