You need to change the advertised hostname. Take a look https://registry.hub.docker.com/u/stealthly/docker-kafka/ and https://registry.hub.docker.com/u/stealthly/docker-zookeeper/ we use it often for local testing here is how to start https://github.com/stealthly/docker-kafka/blob/master/start-broker.sh e.g. https://github.com/stealthly/metrics-kafka/blob/master/bootstrap.sh#L13
/******************************************* Joe Stein Founder, Principal Consultant Big Data Open Source Security LLC http://www.stealth.ly Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop> ********************************************/ On Tue, Sep 30, 2014 at 11:46 AM, Mingtao Zhang <mail2ming...@gmail.com> wrote: > Hi, > > Any one has dockerized kafka working? > > Should we specify the ip address? > > I expected everything working on just localhost but saw this "SEVERE: > Producer connection to 172.17.0.3:9092 unsuccessful". > > Thanks in advance! > > Best Regards, > Mingtao >