kafka-dev / kafka

A distributed publish/subscribe messaging service
http://sna-projects.com/kafka
Apache License 2.0
548 stars 300 forks source link

kafka java client #45

Open ronenhamias opened 11 years ago

ronenhamias commented 11 years ago

trying to run kafka client from windows client throws exception

i am trying to run kafka client from windows maching both from java 7 and 6 throws exception : Exception in thread "main" org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 10000 at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:876) at org.I0Itec.zkclient.ZkClient.(ZkClient.java:98) at org.I0Itec.zkclient.ZkClient.(ZkClient.java:84) at kafka.producer.ZKBrokerPartitionInfo.(ZKBrokerPartitionInfo.scala:62) at kafka.producer.Producer.(Producer.scala:47) at kafka.javaapi.producer.Producer.(Producer.scala:33) at kafka.javaapi.producer.Producer.(Producer.scala:40) at kafka.examples.Test.main(Test.java:16)

junrao commented 11 years ago

We have moved to Apache. Could you post your question there?

Thanks,

Jun

On Sat, Nov 17, 2012 at 4:45 AM, ronenhamias notifications@github.comwrote:

trying to run kafka client from windows client throws exception

i am trying to run kafka client from windows maching both from java 7 and 6 throws exception : Exception in thread "main" org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 10000 at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:876) at org.I0Itec.zkclient.ZkClient.(ZkClient.java:98) at org.I0Itec.zkclient.ZkClient.(ZkClient.java:84) at kafka.producer.ZKBrokerPartitionInfo.(ZKBrokerPartitionInfo.scala:62) at kafka.producer.Producer.(Producer.scala:47) at kafka.javaapi.producer.Producer.(Producer.scala:33) at kafka.javaapi.producer.Producer.(Producer.scala:40) at kafka.examples.Test.main(Test.java:16)

— Reply to this email directly or view it on GitHubhttps://github.com/kafka-dev/kafka/issues/45.