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

Periodic refresh of topic metadata on the producer does not check for error code in the response

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.8.0
    • None
    • producer

    Description

      The producer does a periodic refresh of the metadata but marks the attempt as successful based only on whether the response was received or not. It does not check for error codes in the response. This is probably ok since those produce requests will fail and the required topics will enter the list for topic metadata refresh in the next attempt. However, it will be good to log this since it looks like the metadata was refreshed but actually there could be failures.

      Attachments

        1. kafka-774.patch
          1 kB
          Neha Narkhede
        2. kafka-774-v2.patch
          6 kB
          Neha Narkhede
        3. kafka-774-v3.patch
          7 kB
          Neha Narkhede

        Activity

          People

            nehanarkhede Neha Narkhede
            nehanarkhede Neha Narkhede
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: