Skip to content

Commit

Permalink
Keeps internal listener first in protocol map, as ...
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
solsson committed Oct 25, 2017
1 parent 73e0e5b commit 4c202f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 10broker-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4c202f4

Please sign in to comment.