Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-14048 The Next Generation of the Consumer Rebalance Protocol
  3. KAFKA-15540

Handle heartbeat and revocation when consumer leaves group

    XMLWordPrintableJSON

Details

    Description

      When a consumer intentionally leaves a group we should:

      • release assignment (revoke partitions)
      • send a last Heartbeat request with epoch -1 (or -2 if static member)

      Note that the revocation involves stop fetching, committing offsets if auto-commit enabled and invoking the onPartitionsRevoked callback.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lianetm Lianet Magrans
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: