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

Struct heartbeatRequestV0

heartbeat.go:43–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43type heartbeatRequestV0 struct {
44 // GroupID holds the unique group identifier
45 GroupID string
46
47 // GenerationID holds the generation of the group.
48 GenerationID int32
49
50 // MemberID assigned by the group coordinator
51 MemberID string
52}
53
54// Heartbeat sends a heartbeat request to a kafka broker and returns the response.
55func (c *Client) Heartbeat(ctx context.Context, req *HeartbeatRequest) (*HeartbeatResponse, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected