`
ghl116
  • 浏览: 161352 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Kafka开发报错: Kafka.common.FailedToSendMessageException: Failed To Send Messages Af

阅读更多

 Kafka的集群部署于Linux环境下,在Windows下的Eclipse中运行Demo报错,通过以下方案解决

 

 

Kafka.common.FailedToSendMessageException: Failed To Send Messages After 3 Tries

 
Hi pradeep,
It seems your client is not able to connect with Kafka Server. Kafka client
connects with server using HOSTNAME not IP.  You have to map the hostname
with IP address.
In Ubuntu Server, /etc/hosts put an entry of your {clientIp   hostname}
In Windows Client, %SystemRoot%
\system32\drivers\etc\hosts
put an entry of your { serverIp    hostname}
Regards,
Kamal C.

http://qnalist.com/questions/5056261/exception-in-thread-main-kafka-common-failedtosendmessageexception-failed-to-send-messages-after-3-tries

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics