c7eeed2617560efbce61dd6d9c6266b235fe73c7
Resolves each shard topic's replica broker IDs (internal/kafka.Admin. ReplicaBrokerIDs) to the topology.kubernetes.io/zone labels of the nodes hosting those brokers (ZoneLocator), and writes the result into ShardStatus.AvailabilityZones each reconcile. Uses mgr.GetAPIReader() rather than the cached client for the Pod/Node lookups, since the cached client would otherwise require cluster-wide list/watch RBAC on Pods just to serve occasional point Gets.
Description
No description provided
304 KiB
Languages
Go
92.8%
Shell
4%
Go Template
1.6%
Lua
1.3%
Dockerfile
0.3%