frankvicky commented on code in PR #19054:
URL: https://github.com/apache/kafka/pull/19054#discussion_r1975528720


##########
core/src/main/scala/kafka/coordinator/transaction/TransactionLog.scala:
##########
@@ -96,12 +97,9 @@ object TransactionLog {
     val version = buffer.getShort
     if (version == CoordinatorRecordType.TRANSACTION_LOG.id) {
       val value = new TransactionLogKey(new ByteBufferAccessor(buffer), 
0.toShort)
-      TxnKey(
-        version = version,
-        transactionalId = value.transactionalId
-      )
+      new TxnKey(version,value.transactionalId)

Review Comment:
   nit: space 
   `new TxnKey(version, value.transactionalId)`
   



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

Reply via email to