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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.9.0.0
    • None
    • network
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: