kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-4561) Ordering of operations in StreamThread.shutdownTasksAndState may void at-least-once guarantees
Date Tue, 03 Jan 2017 16:35:58 GMT

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

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

Github user asfgit closed the pull request at:

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


> Ordering of operations in StreamThread.shutdownTasksAndState may void at-least-once guarantees
> ----------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-4561
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4561
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 0.10.2.0
>            Reporter: Damian Guy
>            Assignee: Damian Guy
>             Fix For: 0.10.2.0
>
>
> In {{shutdownTasksAndState}} we currently commit offsets as the first step. If a subsequent
step throws an exception, i.e, flushing the producer, then this would violate the at-least-once
guarantees.
> We need to commit after all other state has been flushed



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message