dengziming created KAFKA-9246:
---------------------------------

             Summary: Update Heartbeat timeout when ConsumerCoordinator commit 
offset
                 Key: KAFKA-9246
                 URL: https://issues.apache.org/jira/browse/KAFKA-9246
             Project: Kafka
          Issue Type: Improvement
          Components: clients
            Reporter: dengziming
             Fix For: 2.3.0, 2.2.0


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to