You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Apurva Mehta (JIRA)" <ji...@apache.org> on 2017/06/10 03:31:18 UTC

[jira] [Updated] (KAFKA-5286) Producer should await transaction completion in close

     [ https://issues.apache.org/jira/browse/KAFKA-5286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apurva Mehta updated KAFKA-5286:
--------------------------------
    Fix Version/s:     (was: 0.11.0.0)
                   0.11.0.1

> Producer should await transaction completion in close
> -----------------------------------------------------
>
>                 Key: KAFKA-5286
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5286
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: clients, core, producer 
>            Reporter: Jason Gustafson
>             Fix For: 0.11.0.1
>
>
> We should wait at least as long as the timeout for a transaction which has begun completion (commit or abort) to be finished. Tricky thing is whether we should abort a transaction which is in progress. It seems reasonable since that's the coordinator will either timeout and abort the transaction or the next producer using the same transactionalId will fence the producer and abort the transaction. In any case, the transaction will be aborted, so perhaps we should do it proactively.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)