ahuang98 commented on code in PR #17773:
URL: https://github.com/apache/kafka/pull/17773#discussion_r1841016340
##########
raft/src/main/java/org/apache/kafka/raft/KafkaNetworkChannel.java:
##########
@@ -187,6 +189,8 @@ static AbstractRequest.Builder<? extends AbstractRequest>
buildRequest(ApiMessag
return new FetchRequest.SimpleBuilder((FetchRequestData)
requestData);
if (requestData instanceof FetchSnapshotRequestData)
return new FetchSnapshotRequest.Builder((FetchSnapshotRequestData)
requestData);
+ if (requestData instanceof UpdateRaftVoterRequestData)
Review Comment:
that's what I thought as well, I don't think we need to add either here
--
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]