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

Reply via email to