Technologies/Grafana/kafka.server.ReplicaManager.UnderReplicatedPartitions
GrafanaGrafanaMetric

kafka.server.ReplicaManager.UnderReplicatedPartitions

The number of under-replicated partitions
Dimensions:None

Technical Annotations (19)

Configuration Parameters (5)
spec.replicasrecommended: minimum 3
minimum viable cluster size with default replication factor
confluent.balancer.replication.in.max.bytes.per.secondrecommended: >= (RF-1) * confluent.balancer.producer.in.max.bytes.per.second
must account for ISR replication traffic based on replication factor
replica.fetch.max.bytesrecommended: >= message.max.bytes
Must be at least as large as message.max.bytes to prevent replication issues
message.max.bytesrecommended: 1048576 (1MB default)
Maximum message size broker accepts
min.insync.replicasrecommended: 2
With replication.factor=3 and acks=all ensures majority quorum
Error Signatures (2)
NotEnoughReplicasexception
NotEnoughReplicasAfterAppendexception
CLI Commands (1)
kubectl scale kafka <Kafka-CR-name> --replicas=Nremediation
Technical References (11)
in-sync replicasconceptconsumer groupcomponentISR churnconceptpage cache hit ratioconceptISRconceptConfluent Control Centercomponentpartition reassignmentconceptunder-replicated partitionsconceptreplicaconceptreplication factorconceptminIsrcomponent
Related Insights (12)
Negative out-of-sync replica count after broker recoveryinfo
Under-replicated partitions indicate data loss risk on broker failurecritical
ISR shrinkage progresses silently until data loss occurscritical
Consumer lag escalates rapidly while broker health metrics remain normalcritical
Missing monitoring of ISR shrinks and consumer lag delays incident responsewarning
Scaling below 3 replicas violates default replication factorcritical
Replication inbound throttle insufficient for replication factor causes ISR issueswarning
Broker removal in pre-7.0 versions causes under-replicated partitionscritical
Under-replicated partitions indicate data durability riskwarning
Replication failures when replica fetch limit smaller than message limitcritical
Producer writes fail when in-sync replicas drop below minimum thresholdcritical
Partitions fall below minimum in-sync replica countcritical