Interface PartitionedTopicProducerStats

All Superinterfaces:
ProducerStats, Serializable

@Public @Stable public interface PartitionedTopicProducerStats extends ProducerStats
Partitioned topic Producer statistics recorded by client.

All the stats are relative to the last recording period. The interval of the stats refreshes is configured with ClientBuilder.statsInterval(long, java.util.concurrent.TimeUnit) with a default of 1 minute.

  • Method Details

    • getPartitionStats

      Map<String,ProducerStats> getPartitionStats()
      Returns:
      stats for each partition if topic is partitioned topic