i have two segments in my home network. 192.168.1.X and 192.168.2.X. My servers are on the .1 subnet. Here's what I did.
Install Kafka on my server on .1 subnet. run included zookeeper, run included kafka server start script. run consumer. run producer.
as long as thats all i did everything was fine.
I then installed on a vm my .2 subnet. pointed producer and consumer to the .1 zk and get only timeouts. i can get to each vm from each other vm.
is there something special i need to do? i've tried playing around with the config files - explicitly setting server.properties host.name to explicitly refer to the server that zk is running on.
everything vanilla installed from version kafka/0.8.1.1/kafka_2.9.2-0.8.1.1.tgz file.
[kafka@vagrant-centos-6 kafka_2.9.2-0.8.1.1]$ bin/kafka-console-consumer.sh --zookeeper chef-server.attlocal.net:2181 --topic test
Exception in thread "main" org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 6000
can i provide any other info?