Interface PublisherStats
- All Known Subinterfaces:
 NonPersistentPublisherStats
public interface PublisherStats
Statistics about a publisher.
- 
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pulsar.client.api.ProducerAccessModeAddress of this publisher.doubleAverage message size published by this publisher.doubleThe total rate of chunked messages published by this publisher.Client library version.Timestamp of connection.Metadata (key/value strings) associated with this publisher.doubleTotal rate of messages published by this publisher (msg/s).doubleTotal throughput of messages published by this publisher (byte/s).longId of this publisher.Producer name.booleanWhether partial producer is supported at client. 
- 
Method Details
- 
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()The total rate of chunked messages published by this publisher. - 
getProducerId
long getProducerId()Id of this publisher. - 
isSupportsPartialProducer
boolean isSupportsPartialProducer()Whether partial producer is supported at client. - 
getProducerName
String getProducerName()Producer name. - 
getAddress
String getAddress()Address of this publisher. - 
getConnectedSince
String getConnectedSince()Timestamp of connection. - 
getClientVersion
String getClientVersion()Client library version. - 
getMetadata
Metadata (key/value strings) associated with this publisher. 
 -