Kafka
  1. Kafka
  2. KAFKA-998

Producer should not retry on non-recoverable error codes

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.8.0, 0.8.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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.

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

        Activity

          People

          • Assignee:
            Guozhang Wang
            Reporter:
            Joel Koshy
          • Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development