| 41 | } |
| 42 | |
| 43 | type 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. |
| 55 | func (c *Client) Heartbeat(ctx context.Context, req *HeartbeatRequest) (*HeartbeatResponse, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected