Parkerhiphop commented on code in PR #24239:
URL: https://github.com/apache/kafka/pull/24239#discussion_r4703194028
##########
coordinator-common/src/main/java/org/apache/kafka/coordinator/common/runtime/CoordinatorLoaderImpl.java:
##########
@@ -229,71 +231,70 @@ private ReplayResult processMemoryRecords(
long lastCommittedOffset
) {
for (MutableRecordBatch batch : memoryRecords.batches()) {
- if (batch.isControlBatch()) {
- for (Record record : batch) {
+ boolean isControlBatch = batch.isControlBatch();
Review Comment:
Sure. Updated!
--
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]