From 4c202f482d6adda147e406bed6879625425e0a6d Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Wed, 25 Oct 2017 09:18:50 +0200 Subject: [PATCH] Keeps internal listener first in protocol map, as ... documented in https://cwiki.apache.org/confluence/display/KAFKA/KIP-103%3A+Separation+of+Internal+and+External+traffic#KIP-103:SeparationofInternalandExternaltraffic-Compatibility,Deprecation,andMigrationPlan "ZooKeeper-based consumers will use the first listener with PLAINTEXT as the security protocol, so listener ordering is important in such cases." Confirmed this using kafka-manager (#83) --- 10broker-config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/10broker-config.yml b/10broker-config.yml index 312df3b9..2af1ae1f 100644 --- a/10broker-config.yml +++ b/10broker-config.yml @@ -81,7 +81,7 @@ data: # Maps listener names to security protocols, the default is for them to be the same. See the config documentation for more details #listener.security.protocol.map=PLAINTEXT:PLAINTEXT,SSL:SSL,SASL_PLAINTEXT:SASL_PLAINTEXT,SASL_SSL:SASL_SSL - listener.security.protocol.map=OUTSIDE:PLAINTEXT,PLAINTEXT:PLAINTEXT,SSL:SSL,SASL_PLAINTEXT:SASL_PLAINTEXT,SASL_SSL:SASL_SSL + listener.security.protocol.map=PLAINTEXT:PLAINTEXT,SSL:SSL,SASL_PLAINTEXT:SASL_PLAINTEXT,SASL_SSL:SASL_SSL,OUTSIDE:PLAINTEXT inter.broker.listener.name=PLAINTEXT # The number of threads that the server uses for receiving requests from the network and sending responses to the network