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


##########
core/src/main/scala/kafka/server/KafkaApis.scala:
##########
@@ -1708,7 +1708,9 @@ class KafkaApis(val requestChannel: RequestChannel,
     }
     val writeTxnMarkersRequest = request.body[WriteTxnMarkersRequest]
     val errors = new ConcurrentHashMap[java.lang.Long, 
util.Map[TopicPartition, Errors]]()
-    val markers = writeTxnMarkersRequest.markers
+    // List of transaction marker entries, each containing producer metadata, 
transaction result (commit/abort),
+    // target partitions, and transaction version.
+    val markers = writeTxnMarkersRequest.markers()

Review Comment:
   removed brackets



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