heartbeat

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	GroupID         string `kafka:"min=v0,max=v4"`
	GenerationID    int32  `kafka:"min=v0,max=v4"`
	MemberID        string `kafka:"min=v0,max=v4"`
	GroupInstanceID string `kafka:"min=v3,max=v4,nullable"`
	// contains filtered or unexported fields
}

Detailed API definition: https://kafka.apache.org/protocol#The_Messages_Heartbeat

func (*Request) ApiKey

func (r *Request) ApiKey() protocol.ApiKey

type Response

type Response struct {
	ErrorCode      int16 `kafka:"min=v0,max=v4"`
	ThrottleTimeMs int32 `kafka:"min=v1,max=v4"`
	// contains filtered or unexported fields
}

func (*Response) ApiKey

func (r *Response) ApiKey() protocol.ApiKey

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL