chia7712 commented on code in PR #16849:
URL: https://github.com/apache/kafka/pull/16849#discussion_r1718565869


##########
clients/src/test/java/org/apache/kafka/clients/MockClient.java:
##########
@@ -462,12 +462,10 @@ public void prepareResponse(RequestMatcher matcher, 
AbstractResponse response, b
     }
 
     /**
-     * Raise an unsupported version error on the next request if it matches 
the given matcher.
-     * If the matcher does not match, {@link KafkaClient#send(ClientRequest, 
long)} will throw IllegalStateException.
-     * @param matcher The request matcher to apply
+     * Raise an unsupported version error on the next request.
      */
-    public void prepareUnsupportedVersionResponse(RequestMatcher matcher) {

Review Comment:
   That allowed us to raise unsupported version for specific request. Maybe we 
should make it work rather then remove it.



-- 
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: jira-unsubscr...@kafka.apache.org

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

Reply via email to