confluentinc/docker-images

Improve the doc

asnir opened this issue · 0 comments

asnir commented

Add more info & create compose file.

The following properties should be set:

  • KAFKA_ADVERTISED_HOST_NAME
  • KAFKA_ADVERTISED_PORT

Review this repo.

docker run -d --name kafka -p 9092:9092 --link zookeeper:zookeeper \

    --env KAFKA_ADVERTISED_HOST_NAME=<DOCKER_HOST> \

    --env KAFKA_ADVERTISED_PORT=9092 confluent/kafka