https://github.com/wurstmeister/kafka-dockergit
environment:
KAFKA_ADVERTISED_HOST_NAME: 10.10.160.243
KAFKA_ADVERTISED_PORT: 9092github
docker-compose -f docker-compose-single-broker.yml up
docker run --name zookeeper -p 2181:2181 -t wurstmeister/zookeeperdocker
docker run --name kafaka -e HOST_IP=localhost -e KAFKA_ADVERTISED_PORT=9092 -e KAFKA_BROKER_ID=1 -e ZK=zk -p 9092 -link zookeeper:zk -t wurstmeister/kafkacode