kakfa客户端异常

守护轻鸟 发表于: 2018-09-03   最后更新时间: 2018-09-03 16:35:31   3,292 游览

最近kafka客户端在发送消息时一直有下面的异常,

哪位大神遇到过这个错误,在线等。。。。。。

2018-09-03 11:05:11.315 [pool-2-thread-12] ERROR o.s.k.s.LoggingProducerListener -Exception thrown when sending a message with key='1535891892002110000026351:3:15.20.19.147' and payload='{1535891892002110000026351, 1535891701002000000021132, 002, 14, 150, 176062075, 0, 520963094, 0, 0, ...' to topic vpn:
org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.
2018-09-03 11:05:11.314 [pool-2-thread-9] ERROR o.s.k.s.LoggingProducerListener -Exception thrown when sending a message with key='1535891790002110000021353:3:15.20.19.147' and payload='{1535891790002110000021353, 1535891669002000000019253, 002, 14, 150, 170264758, 0, 1161805338, 0, 0,...' to topic vpn:
org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.
2018-09-03 11:05:11.314 [pool-2-thread-1] ERROR o.s.k.s.LoggingProducerListener -Exception thrown when sending a message with key='1535891473002110000000861:3:15.20.19.147' and payload='{1535891473002110000000861, 1535891352002000000000686, 002, 14, 150, 168528060, 0, 520963414, 0, 0, ...' to topic vpn:
org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.
2018-09-03 11:05:11.314 [pool-2-thread-5] ERROR o.s.k.s.LoggingProducerListener -Exception thrown when sending a message with key='1535891990002110000124742:3:15.20.19.147' and payload='{1535891990002110000124742, 1535891863002000000122667, 002, 14, 150, 170511568, 0, 1266578368, 0, 0,...' to topic vpn:
org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.
2018-09-03 11:05:11.314 [pool-2-thread-11] ERROR o.s.k.s.LoggingProducerListener -Exception thrown when sending a message with key='1535891905002110000120272:3:15.20.19.147' and payload='{1535891905002110000120272, 1535891784002000000118896, 002, 14, 150, 177144771, 0, 1168896523, 0, 0,...' to topic vpn:
org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.
2018-09-03 11:05:11.316 [pool-2-thread-8] ERROR o.s.k.s.LoggingProducerListener -Exception thrown when sending a message with key='1535891717002110000110275:3:15.20.19.147' and payload='{1535891717002110000110275, 1535891576002000000108691, 002, 7, 150, 173129230, 0, 520965136, 0, 0, 0...' to topic vpn:
org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.
2018-09-03 11:05:11.317 [pool-2-thread-6] ERROR o.s.k.s.LoggingProducerListener -Exception thrown when sending a message with key='1535891630002110000105858:3:15.20.19.147' and payload='{1535891630002110000105858, 1535891509002000000105571, 002, 24, 150, 1681790639, 0, 520964097, 0, 0,...' to topic vpn:
org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.
2018-09-03 11:05:11.318 [pool-2-thread-3] ERROR o.s.k.s.LoggingProducerListener -Exception thrown when sending a message with key='1535891557002110000005859:3:15.20.19.147' and payload='{1535891557002110000005859, 1535891436002000000005500, 002, 14, 150, 168396310, 0, 520967440, 0, 0, ...' to topic vpn:
org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.
2018-09-03 11:05:11.318 [pool-2-thread-2] ERROR o.s.k.s.LoggingProducerListener -Exception thrown when sending a message with key='1535891518002110000100860:3:15.20.19.147' and payload='{1535891518002110000100860, 1535891365002000000100295, 002, 7, 150, 169308947, 0, 1266549291, 0, 0, ...' to topic vpn:
org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.
 1535891512002000000010015, 002, 7, 150, 168505916, 0, 1247153325, 0, 0, ...' to topic vpn:
org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.
发表于 2018-09-03
添加评论

你这个超时很严重呀
1、查看网络之间的通讯是否正常
2、查看集群状态,服务端看看有没有什么异常。

你的答案

查看kafka相关的其他问题或提一个您自己的问题