mirror of
https://github.com/bitnami/containers.git
synced 2026-03-16 06:49:12 +08:00
Add KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP to kafka README.md about access from outside (#34687)
Update README.md Signed-off-by: Daniel Huth <4455258+Agreon@users.noreply.github.com>
This commit is contained in:
@@ -286,6 +286,7 @@ To do so, add the following environment variables to your docker-compose:
|
||||
- ALLOW_PLAINTEXT_LISTENER=yes
|
||||
+ - KAFKA_CFG_LISTENERS=PLAINTEXT://:9092,CONTROLLER://:9093,EXTERNAL://:9094
|
||||
+ - KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092,EXTERNAL://localhost:9094
|
||||
+ - KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,EXTERNAL:PLAINTEXT,PLAINTEXT:PLAINTEXT
|
||||
```
|
||||
|
||||
And expose the external port:
|
||||
|
||||
Reference in New Issue
Block a user