Jiangjie Qin created KAFKA-2936:
-----------------------------------

             Summary: Socket server selector can stuck on one send in tight 
loop.
                 Key: KAFKA-2936
                 URL: https://issues.apache.org/jira/browse/KAFKA-2936
             Project: Kafka
          Issue Type: Bug
            Reporter: Jiangjie Qin


When broker was sending a FetchResponse it is possible that the data to be sent 
back is truncated. In this case, a KafkaException will be thrown. This 
exception is caught by processor and the selector will be sending the message 
in a tight while loop. It will continue doing this until the socket is closed 
by the client due to request timeout.

We should have a max retry for the response send.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to