1) Current `lateRecordDropSensor` seems to be completely paired with `recordLatenessSensor`, i.e. there is no place where we only record one of them but not both. It makes me thinking if we can optimize this a bit to get one sensor, with a COUNT / and AVG / MAX metrics with it, as it seems that `lateRecordDropSensor` is just a COUNT of the `recordLatenessSensor`.
2) I'm also a bit concerned about the performance as it is a per task-processor-node-level sensor. Would better consider doing KAFKA-7275 sooner than later. [ Full content available at: https://github.com/apache/kafka/pull/5742 ] This message was relayed via gitbox.apache.org for devnull@infra.apache.org