Hello Jacky, Have you read this FAQ:
https://cwiki.apache.org/confluence/display/KAFKA/FAQ#FAQ-OnEC2%2Cwhycan%27tmyhighlevelconsumersconnecttothebrokers%3F Guozhang On Fri, Oct 4, 2013 at 10:41 PM, Jiang Jacky <jiang0...@gmail.com> wrote: > It is very weird, I have a kafka cluster in EC2, There is no any problem to > produce message from one of node by same producer. But when I move the > producer to my local machine at home, then it gives me the below error: > Failed to send messages after 3 tries. > > Can anyone tell me how do I fix this issue? I have opened all ports of my > machine at my home, and the security group is also opened for kafka server > and zookeeper in EC2. Everything is fine, but I just cannot send any > message to kafka server. > Please help me. > Thanks Everyone! > > Jacky > -- -- Guozhang