David Arthur created KAFKA-14964:
------------------------------------

             Summary: ClientQuotaMetadataManager should not suppress exceptions
                 Key: KAFKA-14964
                 URL: https://issues.apache.org/jira/browse/KAFKA-14964
             Project: Kafka
          Issue Type: Bug
            Reporter: David Arthur


As MetadataLoader calls each MetadataPublisher upon receiving new records from 
the controller, it surrounds the call with a try-catch block in order to pass 
exceptions to a FaultHandler. The FaultHandler used by MetadataLoader is 
essential for us to learn about metadata errors on the broker since it 
increments the metadata loader error JMX metric.

ClientQuotaMetadataManager is in the update path for ClientQuota metadata 
updates and is capturing exceptions. This means validation errors (like invalid 
quotas) will not be seen by the FaultHandler, and the JMX metric will not get 
incremented.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to