Interface PublisherStats

All Known Subinterfaces:
NonPersistentPublisherStats

public interface PublisherStats
Statistics about a publisher.
  • 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

      Map<String,String> getMetadata()
      Metadata (key/value strings) associated with this publisher.