flume-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLUME-2920) Kafka Channel Should Not Commit Offsets When Stopping
Date Fri, 10 Jun 2016 13:53:21 GMT

    [ https://issues.apache.org/jira/browse/FLUME-2920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15324484#comment-15324484

ASF subversion and git services commented on FLUME-2920:

Commit f46bee03eb2c9094aa192dd6b82a494cb26eef35 in flume's branch refs/heads/trunk from [~jarcec]
[ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=f46bee0 ]

FLUME-2920: Kafka Channel Should Not Commit Offsets When Stopping

(Kevin Conaway via Jarek Jarcec Cecho)

> Kafka Channel Should Not Commit Offsets When Stopping
> -----------------------------------------------------
>                 Key: FLUME-2920
>                 URL: https://issues.apache.org/jira/browse/FLUME-2920
>             Project: Flume
>          Issue Type: Bug
>          Components: Channel
>    Affects Versions: v1.6.0
>            Reporter: Kevin Conaway
>            Priority: Critical
>         Attachments: FLUME-2920.patch
> The Kafka channel commits the consumer offsets when shutting down (via stop() -> decommissionConsumerAndRecords())
> This can lead to data loss if the channel is shut down while messages have been fetched
in a transaction but the transaction has not yet been committed.
> The only time that the offsets should be committed is when a transaction is complete.

This message was sent by Atlassian JIRA

View raw message