[ https://issues.apache.org/jira/browse/KAFKA-6588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16375316#comment-16375316 ]
James Cheng commented on KAFKA-6588: ------------------------------------ KAFKA-3857 added a metric "time-since-last-run-ms". If it's consistently a "small" number, then the cleaner is still working. If it grows really high, then the log cleaner thread is dead. PR is here: https://github.com/apache/kafka/pull/1593 Would that be sufficient? > Add a metric to monitor live log cleaner thread > ----------------------------------------------- > > Key: KAFKA-6588 > URL: https://issues.apache.org/jira/browse/KAFKA-6588 > Project: Kafka > Issue Type: Bug > Reporter: Navina Ramesh > Assignee: Navina Ramesh > Priority: Minor > > We want to have a more direct metric to monitor the log cleaner thread. > Hence, adding a simple metric in `LogCleaner.scala`. > Additionally, making a minor change to make sure the correct offsets are > logged in `LogCleaner#recordStats` > -- This message was sent by Atlassian JIRA (v7.6.3#76005)