Skip to content

Commit

Permalink
Fresh install of Docker Desktop and pulled latest images of Kafka... …
Browse files Browse the repository at this point in the history
…Now get errors when starting Kafka unless the 127.0.0.1 IP address is specified in the listeners config.
  • Loading branch information
seanmcilvenna committed Dec 26, 2024
1 parent 950e5fe commit bb22634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ services:
- KAFKA_CFG_NODE_ID=1
- KAFKA_CFG_PROCESS_ROLES=broker,controller
- [email protected]:9093
- KAFKA_CFG_LISTENERS=SASL_PLAINTEXT://:9092,CONTROLLER://:9093,EXTERNAL://:9094
- KAFKA_CFG_LISTENERS=SASL_PLAINTEXT://127.0.0.1:9092,CONTROLLER://127.0.0.1:9093,EXTERNAL://127.0.0.1:9094
- KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:SASL_PLAINTEXT,SASL_PLAINTEXT:SASL_PLAINTEXT,EXTERNAL:SASL_PLAINTEXT
- KAFKA_CFG_ADVERTISED_LISTENERS=SASL_PLAINTEXT://127.0.0.1:9092,EXTERNAL://kafka_b:9094
- KAFKA_CLIENT_USERS=${KAFKA_SASL_CLIENT_USER}
Expand Down

0 comments on commit bb22634

Please sign in to comment.