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

Producer should not retry on non-recoverable error codes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.8.0, 0.8.1
    • None
    • None
    • None

    Description

      Based on a discussion with Guozhang. The producer currently retries on all error codes (including messagesizetoolarge which is pointless to retry on). This can slow down the producer unnecessarily.

      If at all we want to retry on that error code we would need to retry with a smaller batch size, but that's a separate discussion.

      Attachments

        1. KAFKA-998.v1.patch
          10 kB
          Guozhang Wang

        Activity

          People

            guozhang Guozhang Wang
            jjkoshy Joel Jacob Koshy
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: