brandboat opened a new pull request, #22723:
URL: https://github.com/apache/kafka/pull/22723

   MetadataCache#toCluster builds a Cluster view for quota callbacks. 
Previously,
   it filtered fenced brokers out of the broker-to-node map, but partition 
metadata
   can still reference fenced brokers as replicas. When such replicas were 
converted
   to PartitionInfo, the missing broker entry could cause a 
NullPointerException.
   
   Include all registered brokers in the broker-to-node map so fenced replicas 
can
   be represented as offline replicas in the generated Cluster.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to