[ https://issues.apache.org/jira/browse/KAFKA-14744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jacot resolved KAFKA-14744. --------------------------------- Fix Version/s: 3.5.0 Resolution: Fixed > NPE while converting OffsetFetch from version < 8 to version >= 8 > ----------------------------------------------------------------- > > Key: KAFKA-14744 > URL: https://issues.apache.org/jira/browse/KAFKA-14744 > Project: Kafka > Issue Type: Bug > Affects Versions: 3.5.0 > Reporter: David Jacot > Assignee: David Jacot > Priority: Major > Fix For: 3.5.0 > > > While refactoring the OffsetFetch handling in KafkaApis, we introduced a > NullPointerException (NPE). The NPE arises when the FetchOffset API is called > with a client using a version older than version 8 and using null for the > topics to signal that all topic-partition offsets must be returned. This > means that this bug mainly impacts admin tools. The consumer does not use > null. > This NPE is here: > https://github.com/apache/kafka/commit/24a86423e9907b751d98fddc7196332feea2b48d#diff-0f2f19fd03e2fc5aa9618c607b432ea72e5aaa53866f07444269f38cb537f3feR237. > We missed this during the refactor because we had no tests in place to test > this mode. -- This message was sent by Atlassian Jira (v8.20.10#820010)