MCPcopy
hub / github.com/segmentio/kafka-go / leaveGroup

Method leaveGroup

consumergroup.go:609–614  ·  view source on GitHub ↗
(req leaveGroupRequestV0)

Source from the content-addressed store, hash-verified

607}
608
609func (t *timeoutCoordinator) leaveGroup(req leaveGroupRequestV0) (leaveGroupResponseV0, error) {
610 if err := t.conn.SetDeadline(time.Now().Add(t.timeout)); err != nil {
611 return leaveGroupResponseV0{}, err
612 }
613 return t.conn.leaveGroup(req)
614}
615
616func (t *timeoutCoordinator) heartbeat(req heartbeatRequestV0) (heartbeatResponseV0, error) {
617 if err := t.conn.SetDeadline(time.Now().Add(t.timeout)); err != nil {

Callers

nothing calls this directly

Calls 2

leaveGroupMethod · 0.65
SetDeadlineMethod · 0.45

Tested by

no test coverage detected