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

Corrupted messages in produce request could shutdown the broker

    XMLWordPrintableJSON

Details

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

    Description

      In kafka.log.append(), we convert all IOException to KafkaStorageException. This will cause the caller to shutdown the broker. However, if there is a corrupted compressed message, validMessages.assignOffsets() in append() could also throw an IOException when decompressing the message. In this case, we shouldn't shut down the broker and should just fail this particular produce request.

      Attachments

        1. KAFKA-765.patch
          0.9 kB
          Neha Narkhede

        Activity

          People

            nehanarkhede Neha Narkhede
            junrao Jun Rao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: