[ https://issues.apache.org/jira/browse/KAFKA-3383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15200588#comment-15200588 ]
Jiangjie Qin edited comment on KAFKA-3383 at 3/18/16 3:38 AM: -------------------------------------------------------------- [~junrao] It was due to some quota sensor exception on the broker side. The broker also has some issue that it did not give back the error response in correct format. I haven't got a chance to dig into that yet. I will create another ticket for that after the investigation. was (Author: becket_qin): [~junrao] It was due to some quota sensor exception. The broker also has some issue that it did not give back the error response in correct format. I haven't got a chance to dig into that yet. I will create another ticket for that after the investigation. > Producer should not remove an in flight request before successfully parsing > the response. > ----------------------------------------------------------------------------------------- > > Key: KAFKA-3383 > URL: https://issues.apache.org/jira/browse/KAFKA-3383 > Project: Kafka > Issue Type: Bug > Affects Versions: 0.9.0.0 > Reporter: Jiangjie Qin > Assignee: chen zhu > Priority: Critical > Fix For: 0.10.0.0 > > > In the NetworkClient, we remove the in flight request before we successfully > parse the response. If the response parse failed, the request will not be > fulfilled but just lost. For a producer request, that means the callback of > the messages won't be fired forever. > We should only remove the in flight request after response parsing succeeds. -- This message was sent by Atlassian JIRA (v6.3.4#6332)