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

Consumer should handle `CORRUPT_MESSAGE` error code in fetch response

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Labels:
      None

      Description

      This error code is possible, for example, when the broker scans the log to find the fetch offset after the index lookup. Currently this results in a slightly obscure message such as the following:

      java.lang.IllegalStateException: Unexpected error code 2 while fetching data

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                agam Agam Brahma
                Reporter:
                hachikuji Jason Gustafson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: