[ https://issues.apache.org/jira/browse/KAFKA-5784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16217427#comment-16217427 ]
siva santhalingam commented on KAFKA-5784: ------------------------------------------ [~bbejeck] I can pick this up if you don't mind, but is it possible to explain the context more ? What methods/classes need to be modified ? I can read the code to understand how metrics have been implemented in other classes. > Add a sensor for dropped records in window stores > ------------------------------------------------- > > Key: KAFKA-5784 > URL: https://issues.apache.org/jira/browse/KAFKA-5784 > Project: Kafka > Issue Type: Bug > Components: streams > Reporter: Guozhang Wang > Assignee: Bill Bejeck > Labels: newbie > > Today when a {{put(record)}} call on a windowed store does not find the > corresponding segment, i.e. its corresponding's window has expired, we simply > returns a {{null}} and hence silently drops it. > We should consider 1) add log4j entries when it happens, 2) add metrics (we > can discuss whether it should be a processor-node level, or store level > sensor) for such cases. -- This message was sent by Atlassian JIRA (v6.4.14#64029)