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

Socket server may throw IllegalStateException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 0.9.0.0
    • None
    • network
    • None

    Description

      The Processor in SocketServer will try to drain all the responses in the response queue and pass them to selector for sending.

      If there are more than one response in the response queue (e.g. a producer with max in flight request greater than 1), an IllegalStateException would be thrown because the processor will call selector.send() before the previous send is finished.

      Attachments

        Activity

          People

            becket_qin Jiangjie Qin
            becket_qin Jiangjie Qin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: