public class BrokerMetricSample extends MetricSample<BrokerEntity>
KafkaMetricDef
.Constructor and Description |
---|
BrokerMetricSample(String host,
Integer brokerId)
Create a broker metric sample with the given host name, broker id, and version to be used in deserialization.
|
Modifier and Type | Method and Description |
---|---|
int |
brokerId() |
Double |
metricValue(KafkaMetricDef kafkaMetricDef) |
allMetricValues, close, entity, isValid, metricValue, open, record, sampleCloseTime, sampleOpenTime, toString
public int brokerId()
public Double metricValue(KafkaMetricDef kafkaMetricDef)