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

Jarek Jarcec Cecho resolved FLUME-2920.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: v1.7.0

Thank you for your contribution [~kevinconaway] and for the review [~jholoman] 
/ [~granthenke]!

> 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
>            Assignee: Kevin Conaway
>            Priority: Critical
>             Fix For: v1.7.0
>
>         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
(v6.3.4#6332)

Reply via email to