jsancio commented on code in PR #15912:
URL: https://github.com/apache/kafka/pull/15912#discussion_r1596977565


##########
raft/src/main/java/org/apache/kafka/raft/internals/BatchAccumulator.java:
##########
@@ -256,7 +256,7 @@ public void appendControlMessages(MemoryRecordsCreator 
valueCreator) {
     }
 
     private int validateMemoryRecordAndReturnCount(MemoryRecords memoryRecord) 
{
-        // Confirm that it is at most one batch and it is a control record
+        // Confirm that it is one control batch and it is at least one control 
record

Review Comment:
   Fixed.



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