我用的阿里云服务器,我在服务器上面安装了一个kafka
为啥不能发送的,百度了好多 说啥DNS不对.

2016/09/18 11:11:46 [error] 5720#0: [lua] producer.lua:258: buffered messages send to kafka err: iz9405kumw9z could not be resolved (3: Host not found), retryable: true, topic: lualog, partition_id: 0, length: 1, context: ngx.timer, clie nt: 183.12.65.116, server: 0.0.0.0:80

kafka配置文件(config/server.properties):

kafka发送消息问题,could not be resolved

nginx日志:
kafka发送消息问题,could not be resolved

异常分析

从异常看,很明显是HOST访问不了,于是乎,要从Kfka网络配置入手了。

解决办法

kafka发送消息问题,could not be resolved

使用下面这个地址 我写的是内网IP地址,换成外网的就可以正常使用了!

相关文章:

  • 2021-09-05
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
  • 2021-08-18
  • 2022-12-23
猜你喜欢
  • 2022-01-08
  • 2021-05-13
  • 2021-12-18
  • 2021-09-02
  • 2021-05-16
  • 2021-07-23
  • 2022-12-23
相关资源
相似解决方案