[ 
https://issues.apache.org/jira/browse/KAFKA-1943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14315194#comment-14315194
 ] 

Jiangjie Qin commented on KAFKA-1943:
-------------------------------------

It seems recently we have several tickets created for the purpose of letting 
metrics make more sense. I'm just wondering if it would be easier for people to 
track the changes if we can summarize the changes and put them into a single 
ticket.

> Producer request failure rate should not include MessageSetSizeTooLarge and 
> MessageSizeTooLargeException
> --------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-1943
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1943
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Aditya A Auradkar
>            Assignee: Aditya Auradkar
>         Attachments: KAFKA-1943.patch
>
>
> 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).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to