Run kafka in docker container

JDK8 should be installed

Scala2 should be installed (I am not sure that this is needed)


docker and docker-compose installation if needed


$ cd ~/tmp

// Docker script from video course Linux Academy Apache Kafka Deep Dive
$ git clone https://github.com/webmak1/kafka-docker
$ cd kafka-docker/


$ docker-compose up

// or
$ docker-compose up -d --build


$ telnet localhost 2181
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
srvr
Zookeeper version: 3.4.9-1757313, built on 08/23/2016 06:50 GMT
Latency min/avg/max: 0/10/28
Received: 34
Sent: 33
Connections: 1
Outstanding: 0
Zxid: 0x200000039
Mode: follower
Node count: 37
Connection closed by foreign host.