Shekharrajak commented on code in PR #23971:
URL: https://github.com/apache/kafka/pull/23971#discussion_r4385680637
##########
server-common/src/main/java/org/apache/kafka/server/share/persister/PersisterStateManager.java:
##########
@@ -1042,6 +1042,18 @@ protected boolean isResponseForRequest(ClientResponse
response) {
return response.requestHeader().apiKey() ==
ApiKeys.READ_SHARE_GROUP_STATE;
}
+ @Override
+ protected
PartitionResultIndex<ReadShareGroupStateResponseData.PartitionResult>
buildResultIndex(ClientResponse response) {
+ if (response == null || !response.hasResponse()) {
+ return null;
+ }
+ return PartitionResultIndex.build(
Review Comment:
The first handler builds the index to be used for all the handlers
ref
https://github.com/apache/kafka/pull/22835/changes#diff-14030e8d09d19bdb8e5b37a07657bef62db5cb9d76dce9bb0ebcf3058f6fd002R252
--
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]