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

Update Heartbeat timeout when ConsumerCoordinator commit offset

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.2.0, 2.3.0
    • Component/s: clients
    • Labels:
      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

            • Assignee:
              dengziming dengziming
              Reporter:
              dengziming dengziming
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: