[ 
https://issues.apache.org/jira/browse/KAFKA-7887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16757520#comment-16757520
 ] 

Jason Gustafson commented on KAFKA-7887:
----------------------------------------

[~cameron.utsman] Thanks for the report. This appears to be a duplicate of 
KAFKA-7763. Can you take a look and close this if you agree?

> Transaction Producer hanging when commiting/aborting transaction after a 
> broker failure
> ---------------------------------------------------------------------------------------
>
>                 Key: KAFKA-7887
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7887
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 2.0.1
>            Reporter: Cameron
>            Priority: Major
>
> I have observed that when a broker fails, the issue with transactional 
> producer hanging while trying to commit and/or abort transaction still 
> persists
> Within TransactionalRequestResult.class lines 36-42
> {code:java}
> while(!completed) {
>       try {
>         this.latch.await();
>         completed = true;
>       } catch (InterruptedException var3) {
>       }
>     }
> {code}
> this.latch.await() never returns
> Reproducible by bringing down kafka broker while transactional producing is 
> sending records
> Suggest (1) calling latch.await() with timeout parameter or (2) allow for 
> easier overriding of method by developers to allow them to call await() with 
> a timeout 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to