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

Wake-up Sender upon blocked on fetching leader metadata

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.2.0
    • None
    • None

    Description

      Currently the new KafkaProducer will not wake up the sender thread upon forcing metadata fetch, and hence if the sender is polling with a long timeout (e.g. the metadata.age period) this wait will usually timeout and fail.

      Attachments

        1. KAFKA-1515_2014-07-03_10:19:28.patch
          8 kB
          Guozhang Wang
        2. KAFKA-1515_2014-07-03_16:43:05.patch
          13 kB
          Guozhang Wang
        3. KAFKA-1515_2014-07-07_10:55:58.patch
          13 kB
          Guozhang Wang
        4. KAFKA-1515_2014-07-08_11:35:59.patch
          14 kB
          Guozhang Wang
        5. KAFKA-1515.patch
          7 kB
          Guozhang Wang

        Activity

          People

            guozhang Guozhang Wang
            guozhang Guozhang Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: