You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/08/23 00:12:00 UTC

[jira] [Commented] (KAFKA-5603) Streams should not abort transaction when closing zombie task

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

ASF GitHub Bot commented on KAFKA-5603:
---------------------------------------

GitHub user mjsax opened a pull request:

    https://github.com/apache/kafka/pull/3719

    KAFKA-5603: Don't abort TX for zombie tasks

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mjsax/kafka kafka-5603-dont-abort-tx-for-zombie-tasks-2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/3719.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3719
    
----
commit d1814d2e657dea4fb37b98305cc0f960119a123f
Author: Matthias J. Sax <ma...@confluent.io>
Date:   2017-08-23T00:09:52Z

    KAFKA-5603: Don't abort TX for zombie tasks

----


> Streams should not abort transaction when closing zombie task
> -------------------------------------------------------------
>
>                 Key: KAFKA-5603
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5603
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 0.11.0.0
>            Reporter: Matthias J. Sax
>            Assignee: Matthias J. Sax
>            Priority: Critical
>             Fix For: 0.11.0.1
>
>
> The contract of the transactional producer API is to not call any transactional method after a {{ProducerFenced}} exception was thrown.
> Streams however, does an unconditional call within {{StreamTask#close()}} to {{abortTransaction()}} in case of unclean shutdown. We need to distinguish between a {{ProducerFenced}} and other unclean shutdown cases.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)