You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2020/11/19 18:09:45 UTC

[GitHub] [kafka] hachikuji commented on a change in pull request #9617: MINOR: Factor out common response parsing logic

hachikuji commented on a change in pull request #9617:
URL: https://github.com/apache/kafka/pull/9617#discussion_r527095050



##########
File path: clients/src/main/java/org/apache/kafka/clients/NetworkClient.java
##########
@@ -974,21 +969,6 @@ private void handleInitiateApiVersionRequests(long now) {
         }
     }
 
-    /**
-     * Validate that the response corresponds to the request we expect or else explode
-     */
-    private static void correlate(RequestHeader requestHeader, ResponseHeader responseHeader) {

Review comment:
       Why do you want to keep it if it is not used?




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org