[ https://issues.apache.org/jira/browse/KAFKA-2306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14617252#comment-14617252 ]
Guozhang Wang commented on KAFKA-2306: -------------------------------------- Thanks for the patch. Committed to trunk. > New producer should emit metrics for buffer exhaustion > ------------------------------------------------------ > > Key: KAFKA-2306 > URL: https://issues.apache.org/jira/browse/KAFKA-2306 > Project: Kafka > Issue Type: Bug > Reporter: Dong Lin > Assignee: Dong Lin > Fix For: 0.8.3 > > Attachments: KAFKA-2306.patch, KAFKA-2306_2015-07-06_14:54:01.patch, > KAFKA-2306_2015-07-06_18:21:43.patch, KAFKA-2306_2015-07-07_10:47:10.patch > > > In the old producer we have droppedMessageRate that allows user to monitor > the number of messages dropped when buffer is full and block on buffer full > is set to false. This metric is useful in operation. However, in the new > producer we don't have this a metric. > The "errors" sensor in new-producers measures per-record error that is not > limited to those caused by BufferExhaustedException. Thus it is not good > enough. -- This message was sent by Atlassian JIRA (v6.3.4#6332)