Interface PublisherStats
- All Known Subinterfaces:
NonPersistentPublisherStats
public interface PublisherStats
Statistics about a publisher.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pulsar.client.api.ProducerAccessMode
Address of this publisher.double
Average message size published by this publisher.double
The total rate of chunked messages published by this publisher.Client library version.Timestamp of connection.Metadata (key/value strings) associated with this publisher.double
Total rate of messages published by this publisher (msg/s).double
Total throughput of messages published by this publisher (byte/s).long
Id of this publisher.Producer name.boolean
Whether 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.
-