Hi
Thanks to confluent_kafka.admin.AdminClient
, I was inspecting the configuration of replicas in my cluster
I see that some replicas are listed in partitions but not part of the “brokers”.
Specifically:
- 1024 partitions. All partitions have exactly 3 replicas.
- we have 79 brokers total (that’s
len(meta.brokers)
) - We have different 80 replicas total (
set(x for partition in meta.topics['topic_name'].partitions.values() for x in partition.replicas)
) - meta = ClusterMetadata
What does having 80 replicas but 79 listed in brokers mean? Are the replicas still replicating their leader? What’s the impact on the partitions with that 80th replica?
Thanks