public class ConsumerStats extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
availablePermits
Number of available message permits for the consumer.
|
int |
avgMessagesPerEntry
Number of average messages per entry for the consumer consumed.
|
boolean |
blockedConsumerOnUnackedMsgs
Flag to verify if consumer is blocked due to reaching threshold of unacked messages.
|
long |
bytesOutCounter
Total bytes delivered to consumer (bytes).
|
double |
chuckedMessageRate
Deprecated.
use
chunkedMessageRate) |
double |
chunkedMessageRate
Total chunked messages dispatched.
|
String |
consumerName
Name of the consumer.
|
List<String> |
keyHashRanges
Hash ranges assigned to this consumer if is Key_Shared sub mode.
|
long |
lastAckedTimestamp |
long |
lastConsumedTimestamp |
Map<String,String> |
metadata
Metadata (key/value strings) associated with this consumer.
|
long |
msgOutCounter
Total messages delivered to consumer (msg).
|
double |
msgRateOut
Total rate of messages delivered to the consumer (msg/s).
|
double |
msgRateRedeliver
Total rate of messages redelivered by this consumer (msg/s).
|
double |
msgThroughputOut
Total throughput delivered to the consumer (bytes/s).
|
String |
readPositionWhenJoining
The read position of the cursor when the consumer joining.
|
int |
unackedMessages
Number of unacknowledged messages for the consumer.
|
| Constructor and Description |
|---|
ConsumerStats() |
| Modifier and Type | Method and Description |
|---|---|
ConsumerStats |
add(ConsumerStats stats) |
String |
getAddress() |
String |
getClientVersion() |
String |
getConnectedSince() |
String |
getReadPositionWhenJoining() |
void |
setAddress(String address) |
void |
setClientVersion(String clientVersion) |
void |
setConnectedSince(String connectedSince) |
public double msgRateOut
public double msgThroughputOut
public long bytesOutCounter
public long msgOutCounter
public double msgRateRedeliver
@Deprecated public double chuckedMessageRate
chunkedMessageRate)public double chunkedMessageRate
public String consumerName
public int availablePermits
public int unackedMessages
public int avgMessagesPerEntry
public boolean blockedConsumerOnUnackedMsgs
public String readPositionWhenJoining
public long lastAckedTimestamp
public long lastConsumedTimestamp
public List<String> keyHashRanges
public ConsumerStats add(ConsumerStats stats)
public String getAddress()
public void setAddress(String address)
public String getConnectedSince()
public void setConnectedSince(String connectedSince)
public String getClientVersion()
public void setClientVersion(String clientVersion)
public String getReadPositionWhenJoining()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.