Files
Wang Xiaoqing 1da285a9a7 KAFKA-20734: Return noNode for known partitions without endpoints (#22680)
In `KRaftMetadataCache`, `getPartitionLeaderEndpoint` returns empty when
the previous leader is offline after the refactor.

With this PR, the method now returns `noNode` when the leader partition
exists, aligning with the original Scala implementation.

Changes are covered by unit tests. Please feel free to review.

Reviewers: Kevin Wu <kwu@confluent.io>, Justine Olshan
 <jolshan@confluent.io>
2026-10-27 10:21:06 -07:00
..