Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2920

Kafka Channel Should Not Commit Offsets When Stopping

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0
    • Channel
    • None

    Description

      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.

      Attachments

        1. FLUME-2920.patch
          6 kB
          Kevin Conaway

        Issue Links

          Activity

            People

              kevinconaway Kevin Conaway
              kevinconaway Kevin Conaway
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: