kafka producer报NETWORK_EXCEPTION异常,请问是什么原因?多谢

大牛。 发表于: 2017-03-27   最后更新时间: 2017-03-28 09:47:59   11,037 游览
[messageListenerContainer_mail-kafka-consumer-1]  |-|INFO  |-|2017-03-26T18:52:30.294+08:00  |-|o.a.k.c.c.i.AbstractCoordinator[542]  |-|Marking the coordinator 192.168.150.17:9092 (id: 2147483544 rack: null) dead for group malm_consumer_mail  |-|
[messageListenerContainer_mail-kafka-consumer-1]  |-|INFO  |-|2017-03-26T18:52:30.294+08:00  |-|o.a.k.c.c.i.AbstractCoordinator[505]  |-|Discovered coordinator 192.168.150.17:9092 (id: 2147483544 rack: null) for group malm_consumer_mail.  |-|
[messageListenerContainer_mail-kafka-consumer-1]  |-|INFO  |-|2017-03-26T18:52:30.294+08:00  |-|o.a.k.c.c.i.AbstractCoordinator[542]  |-|Marking the coordinator 192.168.150.17:9092 (id: 2147483544 rack: null) dead for group malm_consumer_mail  |-|
[messageListenerContainer_mail-kafka-consumer-1]  |-|INFO  |-|2017-03-26T18:52:30.294+08:00  |-|o.a.k.c.c.i.AbstractCoordinator[505]  |-|Discovered coordinator 192.168.150.17:9092 (id: 2147483544 rack: null) for group malm_consumer_mail.  |-|
[messageListenerContainer_mail-kafka-consumer-1]  |-|INFO  |-|2017-03-26T18:52:30.294+08:00  |-|o.a.k.c.c.i.AbstractCoordinator[542]  |-|Marking the coordinator 192.168.150.17:9092 (id: 2147483544 rack: null) dead for group malm_consumer_mail  |-|
[messageListenerContainer_mail-kafka-consumer-1]  |-|INFO  |-|2017-03-26T18:52:30.295+08:00  |-|o.a.k.c.c.i.AbstractCoordinator[505]  |-|Discovered coordinator 192.168.150.17:9092 (id: 2147483544 rack: null) for group malm_consumer_mail.  |-|
[messageListenerContainer_mail-kafka-consumer-1]  |-|INFO  |-|2017-03-26T18:52:30.295+08:00  |-|o.a.k.c.c.i.AbstractCoordinator[542]  |-|Marking the coordinator 192.168.150.17:9092 (id: 2147483544 rack: null) dead for group malm_consumer_mail  |-|
[messageListenerContainer_mail-kafka-consumer-1]  |-|INFO  |-|2017-03-26T18:52:30.295+08:00  |-|o.a.k.c.c.i.AbstractCoordinator[505]  |-|Discovered coordinator 192.168.150.17:9092 (id: 2147483544 rack: null) for group malm_consumer_mail.  |-|
[messageListenerContainer_mail-kafka-consumer-1]  |-|INFO  |-|2017-03-26T18:52:30.295+08:00  |-|o.a.k.c.c.i.AbstractCoordinator[542]  |-|Marking the coordinator 192.168.150.17:9092 (id: 2147483544 rack: null) dead for group malm_consumer_mail  |-|
[messageListenerContainer_mail-kafka-consumer-1]  |-|INFO  |-|2017-03-26T18:52:30.296+08:00  |-|o.a.k.c.c.i.AbstractCoordinator[505]  |-|Discovered coordinator 192.168.150.17:9092 (id: 2147483544 rack: null) for group malm_consumer_mail.  |-|
[kafka-producer-network-thread | producer-1]  |-|WARN  |-|2017-03-26T18:52:30.297+08:00  |-|o.a.k.c.p.i.Sender[298]  |-|Got error produce response with correlation id 10054 on topic-partition malm_loanAllot-2, retrying (9 attempts left). Error: NETWORK_EXCEPTION  |-|
[kafka-producer-network-thread | producer-1]  |-|WARN  |-|2017-03-26T18:52:30.297+08:00  |-|o.a.k.c.p.i.Sender[298]  |-|Got error produce response with correlation id 10053 on topic-partition malm_loanAllot-5, retrying (8 attempts left). Error: NETWORK_EXCEPTION  |-|
[kafka-producer-network-thread | producer-1]  |-|WARN  |-|2017-03-26T18:52:30.297+08:00  |-|o.a.k.c.p.i.Sender[298]  |-|Got error produce response with correlation id 10052 on topic-partition malm_loanAllot-5, retrying (7 attempts left). Error: NETWORK_EXCEPTION  |-|
[kafka-producer-network-thread | producer-1]  |-|WARN  |-|2017-03-26T18:52:30.297+08:00  |-|o.a.k.c.p.i.Sender[298]  |-|Got error produce response with correlation id 10052 on topic-partition malm_loanAllot-2, retrying (8 attempts left). Error: NETWORK_EXCEPTION  |-|
[kafka-producer-network-thread | producer-1]  |-|WARN  |-|2017-03-26T18:52:30.297+08:00  |-|o.a.k.c.p.i.Sender[298]  |-|Got error produce response with correlation id 10051 on topic-partition malm_loanAllot-5, retrying (6 attempts left). Error: NETWORK_EXCEPTION  |-|
[kafka-producer-network-thread | producer-1]  |-|WARN  |-|2017-03-26T18:52:30.297+08:00  |-|o.a.k.c.p.i.Sender[298]  |-|Got error produce response with correlation id 10051 on topic-partition malm_mail-0, retrying (8 attempts left). Error: NETWORK_EXCEPTION  |-|
[kafka-producer-network-thread | producer-1]  |-|WARN  |-|2017-03-26T18:52:30.297+08:00  |-|o.a.k.c.p.i.Sender[298]  |-|Got error produce response with correlation id 10051 on topic-partition malm_loanAllot-2, retrying (7 attempts left). Error: NETWORK_EXCEPTION  |-|
[kafka-producer-network-thread | producer-1]  |-|WARN  |-|2017-03-26T18:52:30.297+08:00  |-|o.a.k.c.p.i.Sender[298]  |-|Got error produce response with correlation id 10050 on topic-partition malm_loanAllot-5, retrying (1 attempts left). Error: NETWORK_EXCEPTION  |-|
[kafka-producer-network-thread | producer-1]  |-|WARN  |-|2017-03-26T18:52:30.298+08:00  |-|o.a.k.c.p.i.Sender[298]  |-|Got error produce response with correlation id 10050 on topic-partition malm_mail-0, retrying (1 attempts left). Error: NETWORK_EXCEPTION  |-|
[kafka-producer-network-thread | producer-1]  |-|WARN  |-|2017-03-26T18:52:30.298+08:00  |-|o.a.k.c.p.i.Sender[298]  |-|Got error produce response with correlation id 10050 on topic-partition malm_loanAllot-2, retrying (0 attempts left). Error: NETWORK_EXCEPTION  |-|
发表于 2017-03-27
添加评论

告警,如果没有错误和丢失的情况下请检查网络的使用情况。

你的答案

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