You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/01/26 19:22:59 UTC

[GitHub] [kafka] gquintana opened a new pull request #9973: KAFKA-12239 Detail log 'Error getting JMX attribute'

gquintana opened a new pull request #9973:
URL: https://github.com/apache/kafka/pull/9973


   When collecting bulk metrics, this warning message in logs is unhelpful, it is impossible to determine which MBean is missing this attribute and fix the metric collector:
   
   ``[2021-01-26T15:43:41,078][WARN ][org.apache.kafka.common.metrics.JmxReporter] Error getting JMX attribute 'records-lag-max'
   javax.management.AttributeNotFoundException: Could not find attribute records-lag-max
   ```
   This pull request just adds the MBean object name in the log to ease debugging.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kafka] chia7712 commented on pull request #9973: KAFKA-12239 Detail log 'Error getting JMX attribute'

Posted by GitBox <gi...@apache.org>.
chia7712 commented on pull request #9973:
URL: https://github.com/apache/kafka/pull/9973#issuecomment-801152285


   @gquintana thanks for your patch. Could you share the new error message to me?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org