Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1946 Fix various broker metrics
  3. KAFKA-1943

Producer request failure rate should not include MessageSetSizeTooLarge and MessageSizeTooLargeException

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0.0
    • None
    • None

    Description

      If MessageSetSizeTooLargeException or MessageSizeTooLargeException is thrown from Log, then ReplicaManager counts it as a failed produce request. My understanding is that this metric should only count failures as a result of broker issues and not bad requests sent by the clients.

      If the message or message set is too large, then it is a client side error and should not be reported. (similar to NotLeaderForPartitionException, UnknownTopicOrPartitionException).

      Attachments

        1. KAFKA-1943.patch
          2 kB
          Aditya A Auradkar

        Activity

          People

            aauradkar Aditya Auradkar
            auradkar Aditya A Auradkar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: