RE: Error while publishing messages

2016-03-26 Thread Muthukumaran K
Hi Bhargo, I ran into similar issues mainly due to firewall restrictions in my setup with remote VM running broker and ZK. In my little experience, few things to check concretely before running our own clients to see if the changes of server.properties is properly done -Is your ZK

RE: Reg : Unable to produce message

2016-03-20 Thread Muthukumaran K
Hi Ashiq, I am going through the same trouble with 0.9.0.0 and 0.9.0.1 for entirely new installation on remote VM. But from search across mailing lists and other sources, many seem to have had success when they have set the advertised.host.name with proper broker host name and using the

0.9.0.0 and 0.9.0.1 - Metadata fetching from remote server continuously fails - "Failed to find leader"

2016-03-19 Thread Muthukumaran K
Hi, I tried 0.9.0.0 as well as 0.9.0.1 client and server combinations. Broker + Zookeeper runs on VM (Ubuntu 14.04) and consumer (console-consumer) as well as producer (Java client) runs on host (windows) Changed advertised.host.name to reflect the VM's hostname - kafka-zook. Due to firewall

RE: Consumer deadlock

2016-03-03 Thread Muthukumaran K
ew consumer needs 0.9. That probably would explain the hanging. -Jason On Thu, Mar 3, 2016 at 2:28 AM, Muthukumaran K <muthukumara...@ericsson.com> wrote: > Ewen, > > By new Consumer API, you mean KafkaConsumer ? I have an issue with a > poll in 0.9.0.1. poll hangs indefini

RE: Consumer deadlock

2016-03-03 Thread Muthukumaran K
Ewen, By new Consumer API, you mean KafkaConsumer ? I have an issue with a poll in 0.9.0.1. poll hangs indefinitely even with the timeout Following is the consumer code which I am using. Any pointers would be helpful public class ConsumerLoop implements Runnable { private final

RE: 0.9.0.1 Kafka Java client Producer hangs while requesting metadata

2016-03-02 Thread Muthukumaran K
With metadata.fetch.timeout.ms=1, Producer sending goes through. Not sure if this is going to affect anything else. Now trying to figure-out why KafkaConsumer.poll(1) never returns. Regards Muthu -Original Message- From: Muthukumaran K [mailto:muthukumara...@ericsson.com] Sent

0.9.0.1 Kafka Java client Producer hangs while requesting metadata

2016-03-02 Thread Muthukumaran K
Hi, Trying a very simple Producer with following code. "producer.send" hangs indefinitely. Attaching thread-dump snippet so that I can get some advice if something is wrong with my code or configuration. Kafka runs in a VM and producer runs in host - it's a single-broker setup for basic