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: 

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

Reply via email to