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

Guozhang Wang commented on KAFKA-10309:
---------------------------------------

Thanks for catching this. I'd agree that any blocking APIs of producer should 
be covered by the `max.block.ms` so I think this is a bug

> KafkaProducer's sendOffsetsToTransaction should not block infinitively
> ----------------------------------------------------------------------
>
>                 Key: KAFKA-10309
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10309
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients, streams
>    Affects Versions: 2.5.0
>            Reporter: Sasaki Toru
>            Assignee: Sasaki Toru
>            Priority: Major
>             Fix For: 2.5.2, 2.6.1
>
>
> Currently, KafkaProducer's sendOffsetsToTransaction maybe block infinitively 
> when Kafka cluster go down.
> It's considered that this method should be affected with max.block.ms to 
> avoid block infinitively, like other transaction-related methods such as 
> initTransaction and commitTransaction, etc.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to