public class ConnectionSensors extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.kafka.common.metrics.Sensor |
activeAuthenticatedConnectionsCount |
protected org.apache.kafka.common.metrics.Sensor |
authRate |
Constructor and Description |
---|
ConnectionSensors(org.apache.kafka.common.metrics.Sensor authRate,
org.apache.kafka.common.metrics.Sensor activeAuthenticatedConnectionsCount) |
Modifier and Type | Method and Description |
---|---|
void |
recordAuthenticatedConnection() |
void |
recordAuthenticatedDisconnection() |
protected final org.apache.kafka.common.metrics.Sensor authRate
protected final org.apache.kafka.common.metrics.Sensor activeAuthenticatedConnectionsCount