Aditya A Auradkar created KAFKA-1943:
----------------------------------------
Summary: 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
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)