Interface PublisherStats

All Known Subinterfaces:
NonPersistentPublisherStats

public interface PublisherStats
Statistics about a publisher.
  • Method Details Link icon

    • getAccessMode Link icon

      org.apache.pulsar.client.api.ProducerAccessMode getAccessMode()
    • getMsgRateIn Link icon

      double getMsgRateIn()
      Total rate of messages published by this publisher (msg/s).
    • getMsgThroughputIn Link icon

      double getMsgThroughputIn()
      Total throughput of messages published by this publisher (byte/s).
    • getAverageMsgSize Link icon

      double getAverageMsgSize()
      Average message size published by this publisher.
    • getChunkedMessageRate Link icon

      double getChunkedMessageRate()
      The total rate of chunked messages published by this publisher.
    • getProducerId Link icon

      long getProducerId()
      Id of this publisher.
    • isSupportsPartialProducer Link icon

      boolean isSupportsPartialProducer()
      Whether partial producer is supported at client.
    • getProducerName Link icon

      String getProducerName()
      Producer name.
    • getAddress Link icon

      String getAddress()
      Address of this publisher.
    • getConnectedSince Link icon

      String getConnectedSince()
      Timestamp of connection.
    • getClientVersion Link icon

      String getClientVersion()
      Client library version.
    • getMetadata Link icon

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