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

Kafka Channel Should Not Commit Offsets When Stopping

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.7.0
    • Component/s: Channel
    • Labels:
      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: