Interface PublisherStats
- All Known Subinterfaces:
- NonPersistentPublisherStats
public interface PublisherStats
Statistics about a publisher.
- 
Method SummaryModifier 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- 
getAccessModeorg.apache.pulsar.client.api.ProducerAccessMode getAccessMode()
- 
getMsgRateIndouble getMsgRateIn()Total rate of messages published by this publisher (msg/s).
- 
getMsgThroughputIndouble getMsgThroughputIn()Total throughput of messages published by this publisher (byte/s).
- 
getAverageMsgSizedouble getAverageMsgSize()Average message size published by this publisher.
- 
getChunkedMessageRatedouble getChunkedMessageRate()The total rate of chunked messages published by this publisher.
- 
getProducerIdlong getProducerId()Id of this publisher.
- 
isSupportsPartialProducerboolean isSupportsPartialProducer()Whether partial producer is supported at client.
- 
getProducerNameString getProducerName()Producer name.
- 
getAddressString getAddress()Address of this publisher.
- 
getConnectedSinceString getConnectedSince()Timestamp of connection.
- 
getClientVersionString getClientVersion()Client library version.
- 
getMetadataMetadata (key/value strings) associated with this publisher.
 
-