public class MonitoredPartition extends Object
| Modifier and Type | Field and Description | 
|---|---|
protected com.codahale.metrics.Timer | 
commitLatency
latency in milliseconds of kafka offset commit 
 | 
protected org.thales.punch.libraries.metrics.api.BlackboardGauge<Long> | 
committedOffsetGauge  | 
protected org.thales.punch.libraries.metrics.api.BlackboardGauge<Long> | 
currentDelayGauge  | 
protected org.thales.punch.libraries.metrics.api.BlackboardGauge<Long> | 
currentTimestampGauge  | 
protected org.thales.punch.libraries.metrics.api.BlackboardGauge<Long> | 
earliestOffsetGauge  | 
protected com.codahale.metrics.Histogram | 
fetchSize
size of messages in bytes 
 | 
protected org.thales.punch.libraries.metrics.api.BlackboardGauge<Long> | 
latestOffsetGauge  | 
protected org.thales.punch.libraries.metrics.api.BlackboardGauge<Long> | 
messagesCommitBacklogGauge  | 
protected org.thales.punch.libraries.metrics.api.BlackboardGauge<Long> | 
messagesFetchBacklogGauge  | 
protected org.thales.punch.libraries.metrics.api.BlackboardGauge<Long> | 
messagesPersistedBacklogGauge  | 
protected org.thales.punch.libraries.metrics.api.BlackboardGauge<Long> | 
messagesReplayableGauge  | 
protected org.thales.punch.libraries.metrics.api.IMetricContext | 
metricsContext
the metrics context in charge of periodically publishing our metrics with the adequate names and tags 
 | 
protected com.codahale.metrics.Meter | 
msgFetchRate
rate (per second) of messages read from a partition 
 | 
protected com.codahale.metrics.Meter | 
offsetAckRate
offset acknowledgement rate 
 | 
protected com.codahale.metrics.Meter | 
offsetFailRate
offset acknowledgement rate 
 | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
MonitoredPartition(org.thales.punch.libraries.metrics.api.IMetricContext mc,
                  String topic,
                  int partitionNumber,
                  Long offsetWatchDogTimeout)  | 
protected org.thales.punch.libraries.metrics.api.IMetricContext metricsContext
protected com.codahale.metrics.Meter msgFetchRate
protected com.codahale.metrics.Histogram fetchSize
protected com.codahale.metrics.Meter offsetAckRate
protected com.codahale.metrics.Meter offsetFailRate
protected com.codahale.metrics.Timer commitLatency
protected org.thales.punch.libraries.metrics.api.BlackboardGauge<Long> committedOffsetGauge
protected org.thales.punch.libraries.metrics.api.BlackboardGauge<Long> earliestOffsetGauge
protected org.thales.punch.libraries.metrics.api.BlackboardGauge<Long> latestOffsetGauge
protected org.thales.punch.libraries.metrics.api.BlackboardGauge<Long> messagesFetchBacklogGauge
protected org.thales.punch.libraries.metrics.api.BlackboardGauge<Long> messagesCommitBacklogGauge
protected org.thales.punch.libraries.metrics.api.BlackboardGauge<Long> messagesPersistedBacklogGauge
protected org.thales.punch.libraries.metrics.api.BlackboardGauge<Long> currentTimestampGauge
protected org.thales.punch.libraries.metrics.api.BlackboardGauge<Long> currentDelayGauge
protected org.thales.punch.libraries.metrics.api.BlackboardGauge<Long> messagesReplayableGauge
Copyright © 2014–2023. All rights reserved.