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


##########
clients/src/main/java/org/apache/kafka/common/requests/AbstractResponse.java:
##########
@@ -34,6 +34,44 @@
 public abstract class AbstractResponse implements AbstractRequestResponse {
     public static final int DEFAULT_THROTTLE_TIME = 0;
 
+    private static final Map<ApiKeys, Short> POST_KIP_219_VERSION = 
Map.ofEntries(
+        Map.entry(ApiKeys.PRODUCE, (short) 6),

Review Comment:
   @junrao Does the added comment address your concern? I feel this is largely 
a matter of preference, so I'm fine with either approach.



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