Interface PublisherStats
-
- All Known Subinterfaces:
NonPersistentPublisherStats
public interface PublisherStatsStatistics about a publisher.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.pulsar.client.api.ProducerAccessModegetAccessMode()java.lang.StringgetAddress()Address of this publisher.doublegetAverageMsgSize()Average message size published by this publisher.doublegetChunkedMessageRate()total chunked message count received.java.lang.StringgetClientVersion()Client library version.java.lang.StringgetConnectedSince()Timestamp of connection.java.util.Map<java.lang.String,java.lang.String>getMetadata()Metadata (key/value strings) associated with this publisher.doublegetMsgRateIn()Total rate of messages published by this publisher (msg/s).doublegetMsgThroughputIn()Total throughput of messages published by this publisher (byte/s).longgetProducerId()Id of this publisher.java.lang.StringgetProducerName()Producer name.
-
-
-
Method Detail
-
getAccessMode
org.apache.pulsar.client.api.ProducerAccessMode getAccessMode()
-
getMsgRateIn
double getMsgRateIn()
Total rate of messages published by this publisher (msg/s).
-
getMsgThroughputIn
double getMsgThroughputIn()
Total throughput of messages published by this publisher (byte/s).
-
getAverageMsgSize
double getAverageMsgSize()
Average message size published by this publisher.
-
getChunkedMessageRate
double getChunkedMessageRate()
total chunked message count received.
-
getProducerId
long getProducerId()
Id of this publisher.
-
getProducerName
java.lang.String getProducerName()
Producer name.
-
getAddress
java.lang.String getAddress()
Address of this publisher.
-
getConnectedSince
java.lang.String getConnectedSince()
Timestamp of connection.
-
getClientVersion
java.lang.String getClientVersion()
Client library version.
-
getMetadata
java.util.Map<java.lang.String,java.lang.String> getMetadata()
Metadata (key/value strings) associated with this publisher.
-
-