Description
Looks like because of ZK migration to KRaft the ZK Metadata cache was changed to read the voter static configuration. This needs to change to use the voter nodes reported by the raft manager or the kraft client.
The injection code is in KafkaServer where it constructs MetadataCache.zkMetadata.