Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • Internet connection, URL are correct? Commented Aug 26, 2014 at 3:32
  • Well, I know that I can communicate from the KAFKA server to ZOOKEEPER because a leader was elected, I created a topic, and posted a sample message. It is consuming messages that isn't working. There is some configuration someplace that isn't right here, but I am not clear on what that is. Commented Aug 26, 2014 at 11:49
  • so I am assuming that config/server.properties does have the host.name property set properly .. what is your /etc/hosts file shows? Commented Aug 26, 2014 at 12:09
  • host.name=kafka1; zookeeper.connect=zk1:2181. I have entries in the /etc/hosts file for both "kafka1" and "zk1" with the correct IPV6 addresses. Can confirm that both servers can talk to each other by using PING and "nc -z -w 1 kafka1 9092" and "nc -z -w 1 zk1 2181" Commented Aug 26, 2014 at 12:53
  • I am thinking there is something on the zookeeper side that I didn't setup correctly? When I see "UnknownHostException: kafka", it looks like "kafka" is a default setup someplace, and of course that is not right. Commented Aug 26, 2014 at 12:55