rreddy-22 commented on code in PR #17698:
URL: https://github.com/apache/kafka/pull/17698#discussion_r1829822857


##########
clients/src/main/java/org/apache/kafka/common/requests/ProduceRequest.java:
##########
@@ -40,8 +40,9 @@
 import static org.apache.kafka.common.requests.ProduceResponse.INVALID_OFFSET;
 
 public class ProduceRequest extends AbstractRequest {
+    public static final short LAST_BEFORE_TRANSACTION_V2_VERSION = 11;
 
-    public static Builder forMagic(byte magic, ProduceRequestData data) {
+    public static Builder forMagic(byte magic, ProduceRequestData data, 
boolean canUseTransactionV2AboveVersion) {

Review Comment:
   nit: same for naming isTransactionV2Enabled



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