mirror of https://github.com/apache/kafka.git
Right now we only have very generic FailedProduceRequestsPerSec and FailedFetchRequestsPerSec metrics that mark whenever a record is failed on the broker side. To improve the debugging UX, I added 4 new metrics in BrokerTopicStats to log various scenarios when an InvalidRecordException is thrown when LogValidator fails to validate a record: -- NoKeyCompactedTopicRecordsPerSec: counter of failures by compacted records with no key -- InvalidMagicNumberRecordsPerSec: counter of failures by records with invalid magic number -- InvalidMessageCrcRecordsPerSec: counter of failures by records with crc corruption -- NonIncreasingOffsetRecordsPerSec: counter of failures by records with invalid offset Reviewers: Robert Yokota <rayokota@gmail.com>, Guozhang Wang <wangguoz@gmail.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||