aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStaffan Olsson <staffan@repos.se>2017-10-25 09:18:50 +0200
committerStaffan Olsson <staffan@repos.se>2017-10-25 09:18:53 +0200
commit4c202f482d6adda147e406bed6879625425e0a6d (patch)
tree4521bdab26b3983e1e6996a6d19b156347402623
parent73e0e5b7a0d262e828147321679efc2a3710f705 (diff)
downloadkubernetes-kafka-4c202f482d6adda147e406bed6879625425e0a6d.tar.gz
kubernetes-kafka-4c202f482d6adda147e406bed6879625425e0a6d.tar.bz2
kubernetes-kafka-4c202f482d6adda147e406bed6879625425e0a6d.zip
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)
-rw-r--r--10broker-config.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/10broker-config.yml b/10broker-config.yml
index 312df3b..2af1ae1 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