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


##########
clients/src/main/java/org/apache/kafka/server/authorizer/AuthorizableRequestContext.java:
##########
@@ -49,15 +49,17 @@ public interface AuthorizableRequestContext {
     InetAddress clientAddress();
 
     /**
-     * 16-bit API key of the request from the request header. See
-     * https://kafka.apache.org/protocol#protocol_api_keys for request types.
+     * The 16-bit API key ({@code request_api_key}) from the request header. 
See
+     * https://kafka.apache.org/42/design/protocol/#the-messages for request 
types.
      */
-    int requestType();
+    short requestType();

Review Comment:
   Is this a breaking change?



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

Reply via email to