Interface MultiTopicConsumerStats

All Superinterfaces:
ConsumerStats, Serializable

@Public @Stable public interface MultiTopicConsumerStats extends ConsumerStats
Multi-topic Consumer 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,ConsumerStats> getPartitionStats()
      Returns:
      stats for each partition if topic is partitioned topic