接口 ProducerStats

    • 方法详细资料

      • getNumMsgsSent

        long getNumMsgsSent()
        返回:
        the number of messages published in the last interval
      • getNumBytesSent

        long getNumBytesSent()
        返回:
        the number of bytes sent in the last interval
      • getNumSendFailed

        long getNumSendFailed()
        返回:
        the number of failed send operations in the last interval
      • getNumAcksReceived

        long getNumAcksReceived()
        返回:
        the number of send acknowledges received by broker in the last interval
      • getSendMsgsRate

        double getSendMsgsRate()
        返回:
        the messages send rate in the last interval
      • getSendBytesRate

        double getSendBytesRate()
        返回:
        the bytes send rate in the last interval
      • getSendLatencyMillis50pct

        double getSendLatencyMillis50pct()
        返回:
        the 50th percentile of the send latency in milliseconds for the last interval
      • getSendLatencyMillis75pct

        double getSendLatencyMillis75pct()
        返回:
        the 75th percentile of the send latency in milliseconds for the last interval
      • getSendLatencyMillis95pct

        double getSendLatencyMillis95pct()
        返回:
        the 95th percentile of the send latency in milliseconds for the last interval
      • getSendLatencyMillis99pct

        double getSendLatencyMillis99pct()
        返回:
        the 99th percentile of the send latency in milliseconds for the last interval
      • getSendLatencyMillis999pct

        double getSendLatencyMillis999pct()
        返回:
        the 99.9th percentile of the send latency in milliseconds for the last interval
      • getSendLatencyMillisMax

        double getSendLatencyMillisMax()
        返回:
        the max send latency in milliseconds for the last interval
      • getTotalMsgsSent

        long getTotalMsgsSent()
        返回:
        the total number of messages published by this producer
      • getTotalBytesSent

        long getTotalBytesSent()
        返回:
        the total number of bytes sent by this producer
      • getTotalSendFailed

        long getTotalSendFailed()
        返回:
        the total number of failed send operations
      • getTotalAcksReceived

        long getTotalAcksReceived()
        返回:
        the total number of send acknowledges received by broker