[ https://issues.apache.org/jira/browse/KAFKA-6446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16358168#comment-16358168 ]
Eduardo Sciullo commented on KAFKA-6446: ---------------------------------------- The same behavior appears for commitTransaction, abortTransaction, etc.. methods of KafkaProducer (don't honor the {{TRANSACTION_TIMEOUT_CONFIG).}} [~huxi_2b] I think that replace await() with the timed version is a good idea. > KafkaProducer with transactionId endless waits when bootstrap server is down > ---------------------------------------------------------------------------- > > Key: KAFKA-6446 > URL: https://issues.apache.org/jira/browse/KAFKA-6446 > Project: Kafka > Issue Type: Bug > Components: clients, producer > Affects Versions: 0.11.0.0, 1.0.0 > Reporter: Eduardo Sciullo > Priority: Critical > Attachments: Test.java > > > When bootstrap server is down, a KafkaProducer with transactionId endless > waits on initTransactions. > The timeouts don't apply to that operation: don't honor the > {{TRANSACTION_TIMEOUT_CONFIG.}} > Attached an example of my code to reproduce the scenario. > > I opened this issue as suggested by [Gary > Russell|https://stackoverflow.com/users/1240763/gary-russell] > [https://stackoverflow.com/questions/48226546/defaultkafkaproducerfactory-with-transactionidprefix-endless-waits-when-bootstra] > -- This message was sent by Atlassian JIRA (v7.6.3#76005)