jsancio commented on a change in pull request #10946: URL: https://github.com/apache/kafka/pull/10946#discussion_r662608275
########## File path: raft/src/main/java/org/apache/kafka/raft/internals/BatchAccumulator.java ########## @@ -207,6 +208,12 @@ private void completeCurrentBatch() { currentBatch = null; } + /** + * Append a control batch from a supplied memory record. + * + * It is expected that the memory records returned by `valueCreator` contains one + * batch and that batch contains one record. + */ Review comment: Yep. 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org