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

Update Heartbeat timeout when ConsumerCoordinator commit offset

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • 2.2.0, 2.3.0
    • clients
    • None

    Description

      when a consumer sends OffsetCommitRequest, it also can be treated as a Heartbeat and the `GroupCoordinator` will invoke `completeAndScheduleNextHeartbeatExpiration`  to update the expires when handleCommitOffsets. 

      so we can also update the heartbeat expires of ConsumerCoordinator when send OffsetCommitRequest to reduce Heartbeat Request.

      Attachments

        Activity

          People

            dengziming Deng Ziming
            dengziming Deng Ziming
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: