jolshan commented on code in PR #14985: URL: https://github.com/apache/kafka/pull/14985#discussion_r1433369682
########## group-coordinator/src/test/java/org/apache/kafka/coordinator/group/runtime/InMemoryPartitionWriter.java: ########## @@ -102,6 +241,31 @@ public long append( } } + @Override + public long appendEndTransactionMarker( + TopicPartition tp, + long producerId, + short producerEpoch, + int coordinatorEpoch, + TransactionResult result + ) throws KafkaException { + PartitionState state = partitionState(tp); + state.lock.lock(); + try { + state.entries.add(new LogControl( + producerId, + producerEpoch, + coordinatorEpoch, + result + )); + state.endOffset += 1; + if (autoCommit) commit(tp, state.endOffset); Review Comment: what does autoCommit mean here? -- 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