You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "brandboat (via GitHub)" <gi...@apache.org> on 2026/07/10 01:44:05 UTC
[PR] KAFKA-20746 NPE in MetadataCache#toCluster (#22723) [kafka]
brandboat opened a new pull request, #22800:
URL: https://github.com/apache/kafka/pull/22800
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.
Reviewers: Luke Chen <sh...@gmail.com>, Chia-Ping Tsai
<ch...@gmail.com>
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-20746 NPE in MetadataCache#toCluster (4.2) [kafka]
Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 merged PR #22800:
URL: https://github.com/apache/kafka/pull/22800
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org