Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-9741

ConsumerCoordinator must update ConsumerGroupMetadata before calling onPartitionsRevoked()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • consumer
    • None

    Description

      If partitions are revoked, an application may want to commit the current offsets.

      Using transactions, committing offsets would be done via the producer passing in the current `ConsumerGroupMetadata`. If the metadata is not updates before the callback, the call to `commitTransaction(...)` fails as and old generationId would be used.

      Attachments

        Issue Links

          Activity

            People

              mjsax Matthias J. Sax
              mjsax Matthias J. Sax
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: