public static class KafkaUtils.KafkaOffsetMetric extends Object implements IMetric
Constructor and Description |
---|
KafkaOffsetMetric(DynamicPartitionConnections connections) |
Modifier and Type | Method and Description |
---|---|
Object |
getValueAndReset() |
void |
refreshPartitions(Set<Partition> partitions) |
void |
setOffsetData(Partition partition,
PartitionManager.OffsetData offsetData) |
public KafkaOffsetMetric(DynamicPartitionConnections connections)
public void setOffsetData(Partition partition, PartitionManager.OffsetData offsetData)
public Object getValueAndReset()
getValueAndReset
in interface IMetric
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.