sermilrod / kafka-elk-docker-compose

Deploy ELK stack and kafka with docker-compose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kakfa pods fail

ManuelCastroOrtiz opened this issue · comments

When you get this:
kafka-elk-docker-compose_kafka1_1 start-kafka.sh Exit 1
kafka-elk-docker-compose_kafka2_1 start-kafka.sh Exit 1
kafka-elk-docker-compose_kafka3_1 start-kafka.sh Exit 1

And check this:
$ docker logs kafka-elk-docker-compose_kafka1_1
ERROR: No listener or advertised hostname configuration provided in environment.
Please define KAFKA_LISTENERS / (deprecated) KAFKA_ADVERTISED_HOST_NAME

Try including this for fixing it:
KAFKA_LISTENERS: PLAINTEXT://:9092