Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2936

Socket server selector can stuck on one send in tight loop.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.9.0.0
    • Fix Version/s: None
    • Component/s: network
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                onurkaraman Onur Karaman
                Reporter:
                becket_qin Jiangjie Qin
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: