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