kafka/tools/src
TaiJuWu dfaf9f9cf7
CI / build (push) Waiting to run Details
MINOR: add test for `kafka-consumer-groups.sh` should not fail when partition offline (#20235)
See: https://github.com/apache/kafka/pull/20168#discussion_r2227310093

add follow test case:

Given a topic with three partitions, where partition `t-2` is offline,
if partitionsToReset contains only `t-1`, the method
filterNoneLeaderPartitions incorrectly includes `t-2` in the result,
leading to a failure in the tool.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>, Jhen-Yung Hsu
 <jhenyunghsu@gmail.com>, Ken Huang <s7133700@gmail.com>, Andrew
 Schofield <aschofield@confluent.io>
2025-07-31 15:54:27 +01:00
..
main/java/org/apache/kafka/tools KAFKA-19524 Fix UnsupportedOperationException in connect-plugin-path (#20222) 2025-07-31 20:37:35 +08:00
test MINOR: add test for `kafka-consumer-groups.sh` should not fail when partition offline (#20235) 2025-07-31 15:54:27 +01:00