conduktor / kafka-stack-docker-compose

docker compose files to create a fully working kafka stack
Apache License 2.0
3.28k stars 1.27k forks source link

Adding new docker yml file #6

Closed arunboslay closed 7 years ago

arunboslay commented 7 years ago
  1. please add kafka1 and zoo1 to /etc/hosts with relevant docker-machine ip addresses.
simplesteph commented 7 years ago

Hi @arunboslay I'm sorry what are you trying to achieve? You don't need to add kafka1 and zoo1 to /etc/hosts with docker-machine ip addresses. just localhost is enough, as said in the documentation. https://github.com/simplesteph/kafka-stack-docker-compose#single-zookeeper--multiple-kafka

Because you have port mappings happening, localhost:9092 will redirect to the right docker container