Class HotPartitionSensors

java.lang.Object
io.confluent.kafka.multitenant.metrics.HotPartitionSensors

public class HotPartitionSensors extends Object
Helper class to create and access the hot partition sensors for a TopicPartition.
  • Constructor Details

  • Method Details

    • recordHotPartitionIn

      public void recordHotPartitionIn(org.apache.kafka.common.TopicPartition tp, long currentTimeMs)
      Marks the given partition as hot ingress-wise at the given timestamp.
    • recordHotPartitionOut

      public void recordHotPartitionOut(org.apache.kafka.common.TopicPartition tp, long currentTimeMs)
      Marks the given partition as hot egress-wise at the given timestamp.