Kafka Consumer Error - xxxx nodename nor servname provided, or not known

若如初见. 提交于 2019-12-06 10:13:23

Try the following;

Run

ping HQSML-142453

If the ping is not working that means you don't have have the hostname configured in /etc/hosts or in your router DNS. So you must either edit the /etc/hosts and map your HQSML-142453 name to the IP address where your kafka is running or map it in your router DNS.

Mapping must look like the following in /etc/hosts;

127.0.0.1  HQSML-142453
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!