RivenSun2 commented on a change in pull request #11940: URL: https://github.com/apache/kafka/pull/11940#discussion_r833923860
########## File path: clients/src/main/java/org/apache/kafka/clients/producer/KafkaProducer.java ########## @@ -530,6 +530,9 @@ private TransactionManager configureTransactionState(ProducerConfig config, log.info("Instantiated a transactional producer."); else log.info("Instantiated an idempotent producer."); + } else { + // ignore unretrieved configurations related to producer transaction + config.ignore(ProducerConfig.TRANSACTION_TIMEOUT_CONFIG); Review comment: It is called at the beginning of the initialization method of KafkaProducer: `String transactionalId = config.getString(ProducerConfig.TRANSACTIONAL_ID_CONFIG);` do we need to ignore transactional.id 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