public class SubscriptionStats extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
activeConsumerName
The name of the consumer that is active for single active consumer subscriptions i.e.
|
boolean |
blockedSubscriptionOnUnackedMsgs
Flag to verify if subscription is blocked due to reaching threshold of unacked messages
|
List<ConsumerStats> |
consumers
List of connected consumers on this subscription w/ their stats
|
long |
msgBacklog
Number of messages in the subscription backlog
|
double |
msgRateExpired
Total rate of messages expired on this subscription.
|
double |
msgRateOut
Total rate of messages delivered on this subscription.
|
double |
msgRateRedeliver
Total rate of messages redelivered on this subscription.
|
double |
msgThroughputOut
Total throughput delivered on this subscription.
|
PulsarApi.CommandSubscribe.SubType |
type
Whether this subscription is Exclusive or Shared or Failover
|
long |
unackedMessages
Number of unacknowledged messages for the subscription
|
| Constructor and Description |
|---|
SubscriptionStats() |
| Modifier and Type | Method and Description |
|---|---|
SubscriptionStats |
add(SubscriptionStats stats) |
void |
reset() |
public double msgRateOut
public double msgThroughputOut
public double msgRateRedeliver
public long msgBacklog
public boolean blockedSubscriptionOnUnackedMsgs
public long unackedMessages
public PulsarApi.CommandSubscribe.SubType type
public String activeConsumerName
public double msgRateExpired
public List<ConsumerStats> consumers
public void reset()
public SubscriptionStats add(SubscriptionStats stats)
Copyright © 2017–2018 Apache Software Foundation. All rights reserved.