Re: connecting to kafkaserver and zk from inside VM

2013-02-21 Thread Andre Z
Ok first I apologize for not having the serve-properties attached last night. You will find it attached to this email. Second I was trying with putty before to check the connection. It was working with raw data but you're right it's not working with a telnet. I have already opened kafka and zookee

Re: connecting to kafkaserver and zk from inside VM

2013-02-20 Thread Neha Narkhede
It doesn't seem like your consumer box has access to the zookeeper box. Have you tried telnetting to the zookeeper host/port ? I suspect that will fail as well. Thanks, Neha On Wed, Feb 20, 2013 at 7:48 PM, Andre Z wrote: > It might be related but my changes didn't do anything. > > I have the

Re: connecting to kafkaserver and zk from inside VM

2013-02-20 Thread Andre Z
It might be related but my changes didn't do anything. I have the server-properties attached. Here is my timeout error: Exception in thread "main" org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 4000 at org.I0Itec.zkclient.ZkClient.connect(Z

Re: connecting to kafkaserver and zk from inside VM

2013-02-19 Thread Jun Rao
Is this related to item #2 in http://kafka.apache.org/faq.html ? Thanks, Jun On Tue, Feb 19, 2013 at 5:32 PM, Andre Z wrote: > Hi, > > I have the following situation. I have set up a http post client sending > data to my VM. The VM has a post ressource that passes on the data to a > kafkaProdu

connecting to kafkaserver and zk from inside VM

2013-02-19 Thread Andre Z
Hi, I have the following situation. I have set up a http post client sending data to my VM. The VM has a post ressource that passes on the data to a kafkaProducer. Everything works fine with having the kafkaConsumer inside the VM. Now I want the cosumer outside and I get a timeout. I only change