jolshan commented on code in PR #18604:
URL: https://github.com/apache/kafka/pull/18604#discussion_r1921656019


##########
core/src/main/scala/kafka/log/UnifiedLog.scala:
##########
@@ -1052,7 +1057,7 @@ class UnifiedLog(@volatile var logStartOffset: Long,
   }
 
   private def batchMissingRequiredVerification(batch: MutableRecordBatch, 
requestVerificationGuard: VerificationGuard): Boolean = {
-    
producerStateManager.producerStateManagerConfig().transactionVerificationEnabled()
 && !batch.isControlBatch &&
+    
producerStateManager.producerStateManagerConfig().transactionVerificationEnabled()
 &&

Review Comment:
   Yeah. I was also wondering if this was the best way.



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

Reply via email to