rreddy-22 commented on code in PR #19751: URL: https://github.com/apache/kafka/pull/19751#discussion_r2101028588
########## core/src/main/scala/kafka/coordinator/transaction/TransactionMetadata.scala: ########## @@ -174,6 +190,29 @@ private[transaction] class TransactionMetadata(val transactionalId: String, ) } + def prepareIncrementProducerEpochForOngoing(updateTimestamp: Long): TxnTransitMetadata = { Review Comment: nit: could we maybe name this to specify that we're updating the "next" producer epoch, and only in case of prepared txns? Perhaps even add a Javadoc. Something like prepareNextProducerEpochForOngoingTxn? -- 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