Class JwksRefresherMetrics

java.lang.Object
io.confluent.kafka.server.plugins.auth.oauth.JwksRefresherMetrics

public class JwksRefresherMetrics extends Object
Metrics for JwksRefresher. Follows the AuthStoreMetrics pattern.

Metric group: "confluent-jwks-expedited-refresh-metrics".

Sensors are created lazily, keyed by (result, provider) where provider is the JWKS endpoint hostname, and are never evicted. Cardinality is therefore bounded by the number of configured OIDC provider hosts (not by request volume), which is small and stable, so the maps do not grow unbounded over the broker's lifetime.