public interface ConsumerStats
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress()
Address of this consumer.
|
int |
getAvailablePermits()
Number of available message permits for the consumer.
|
int |
getAvgMessagesPerEntry()
Number of average messages per entry for the consumer consumed.
|
long |
getBytesOutCounter()
Total bytes delivered to consumer (bytes).
|
double |
getChunkedMessageRate()
Total chunked messages dispatched.
|
String |
getClientVersion()
Client library version.
|
String |
getConnectedSince()
Timestamp of connection.
|
String |
getConsumerName()
Name of the consumer.
|
List<String> |
getKeyHashRanges()
Hash ranges assigned to this consumer if is Key_Shared sub mode.
|
long |
getLastAckedTimestamp() |
long |
getLastConsumedTimestamp() |
Map<String,String> |
getMetadata()
Metadata (key/value strings) associated with this consumer.
|
long |
getMsgOutCounter()
Total messages delivered to consumer (msg).
|
double |
getMsgRateOut()
Total rate of messages delivered to the consumer (msg/s).
|
double |
getMsgRateRedeliver()
Total rate of messages redelivered by this consumer (msg/s).
|
double |
getMsgThroughputOut()
Total throughput delivered to the consumer (bytes/s).
|
String |
getReadPositionWhenJoining()
The read position of the cursor when the consumer joining.
|
int |
getUnackedMessages()
Number of unacknowledged messages for the consumer.
|
boolean |
isBlockedConsumerOnUnackedMsgs()
Flag to verify if consumer is blocked due to reaching threshold of unacked messages.
|
double getMsgRateOut()
double getMsgThroughputOut()
long getBytesOutCounter()
long getMsgOutCounter()
double getMsgRateRedeliver()
double getChunkedMessageRate()
String getConsumerName()
int getAvailablePermits()
int getUnackedMessages()
int getAvgMessagesPerEntry()
boolean isBlockedConsumerOnUnackedMsgs()
String getReadPositionWhenJoining()
String getAddress()
String getConnectedSince()
String getClientVersion()
long getLastAckedTimestamp()
long getLastConsumedTimestamp()
List<String> getKeyHashRanges()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.