Skip to content

Commit 4c202f4

Browse files
committed
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)
1 parent 73e0e5b commit 4c202f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

10broker-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ data:
8181
8282
# Maps listener names to security protocols, the default is for them to be the same. See the config documentation for more details
8383
#listener.security.protocol.map=PLAINTEXT:PLAINTEXT,SSL:SSL,SASL_PLAINTEXT:SASL_PLAINTEXT,SASL_SSL:SASL_SSL
84-
listener.security.protocol.map=OUTSIDE:PLAINTEXT,PLAINTEXT:PLAINTEXT,SSL:SSL,SASL_PLAINTEXT:SASL_PLAINTEXT,SASL_SSL:SASL_SSL
84+
listener.security.protocol.map=PLAINTEXT:PLAINTEXT,SSL:SSL,SASL_PLAINTEXT:SASL_PLAINTEXT,SASL_SSL:SASL_SSL,OUTSIDE:PLAINTEXT
8585
inter.broker.listener.name=PLAINTEXT
8686
8787
# The number of threads that the server uses for receiving requests from the network and sending responses to the network

0 commit comments

Comments
 (0)