chia7712 commented on code in PR #19383: URL: https://github.com/apache/kafka/pull/19383#discussion_r2030162491
########## core/src/main/scala/kafka/server/ReplicaManager.scala: ########## @@ -1038,9 +1039,10 @@ class ReplicaManager(val config: KafkaConfig, callback: ((Map[TopicPartition, Errors], Map[TopicPartition, VerificationGuard])) => Unit, transactionSupportedOperation: TransactionSupportedOperation ): Unit = { + val transactionLogConfig = new TransactionLogConfig(config) Review Comment: for example: ```scala def transactionPartitionVerificationEnable = { val transactionLogConfig = new TransactionLogConfig(config) transactionLogConfig.transactionPartitionVerificationEnable } // Skip verification if the request is not transactional or transaction verification is disabled. if (transactionalId == null || addPartitionsToTxnManager.isEmpty || (!transactionSupportedOperation.supportsEpochBump && !transactionPartitionVerificationEnable) ) { callback((Map.empty[TopicPartition, Errors], Map.empty[TopicPartition, VerificationGuard])) return } ``` -- 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