qq_33512300
ShgYl0
采纳率0%
2017-10-20 07:52 阅读 14.8k

kafka生产者发消息时无法更新元数据

十万火急,求助
kafka的broker能够正常启动,zookeeper没有问题,使用生产者发送消息失败,提示获取元数据失败
[root@newkafka2 ~]# /root/kafka2/bin/kafka-console-producer.sh -broker-list server2:9092 -topic newkafka2

111111111111
[2017-10-20 15:42:14,048] ERROR Error when sending message to topic newkafka2 with key: null, value: 12 bytes with error: (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)
org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.
[2017-10-20 15:43:21,289] WARN Connection to node -1 could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2017-10-20 15:45:28,516] WARN Connection to node -1 could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2017-10-20 15:47:35,876] WARN Connection to node -1 could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
图片说明

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

4条回答 默认 最新

  • devmiao devmiao 2017-12-11 15:33
    点赞 1 评论 复制链接分享
  • devmiao devmiao 2018-01-21 15:58
    点赞 1 评论 复制链接分享
  • xiaoyu_BD 桃花惜春风 2018-04-24 09:30

    提交偏移量超时,你这种情况基本上是连接问题

    点赞 评论 复制链接分享
  • devmiao devmiao 2018-04-27 15:53
    点赞 评论 复制链接分享

相关推荐