Class HotPartitionSensorBuilder
java.lang.Object
org.apache.kafka.server.metrics.AbstractSensorBuilder<TenantMetrics.TenantMetricsContext, HotPartitionSensors>
io.confluent.kafka.multitenant.metrics.HotPartitionSensorBuilder
public class HotPartitionSensorBuilder
extends org.apache.kafka.server.metrics.AbstractSensorBuilder<TenantMetrics.TenantMetricsContext, HotPartitionSensors>
Builder of
HotPartitionSensors to follow the patterns of existing PartitionSensors creation.-
Constructor Summary
ConstructorsConstructorDescriptionHotPartitionSensorBuilder(org.apache.kafka.common.metrics.Metrics metrics, TenantMetrics.TenantMetricsContext context) -
Method Summary
Methods inherited from class org.apache.kafka.server.metrics.AbstractSensorBuilder
getOrCreateSensors, getOrCreateSuffixedSensors
-
Constructor Details
-
HotPartitionSensorBuilder
public HotPartitionSensorBuilder(org.apache.kafka.common.metrics.Metrics metrics, TenantMetrics.TenantMetricsContext context)
-
-
Method Details
-
build
- Specified by:
buildin classorg.apache.kafka.server.metrics.AbstractSensorBuilder<TenantMetrics.TenantMetricsContext, HotPartitionSensors>
-