leavegroup

package
v0.4.50 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 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=v2|min=v3,max=v4,compact"`
	MemberID string          `kafka:"min=v0,max=v2"`
	Members  []RequestMember `kafka:"min=v3,max=v4"`
	// contains filtered or unexported fields
}

func (*Request) ApiKey

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

func (*Request) Group

func (r *Request) Group() string

func (*Request) Prepare

func (r *Request) Prepare(apiVersion int16)

type RequestMember

type RequestMember struct {
	MemberID        string `kafka:"min=v3,max=v3|min=v4,max=v4,compact"`
	GroupInstanceID string `kafka:"min=v3,max=v3,nullable|min=v4,max=v4,nullable,compact"`
	// contains filtered or unexported fields
}

type Response

type Response struct {
	ErrorCode      int16            `kafka:"min=v0,max=v4"`
	ThrottleTimeMS int32            `kafka:"min=v1,max=v4"`
	Members        []ResponseMember `kafka:"min=v3,max=v4"`
	// contains filtered or unexported fields
}

func (*Response) ApiKey

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

type ResponseMember

type ResponseMember struct {
	MemberID        string `kafka:"min=v3,max=v3|min=v4,max=v4,compact"`
	GroupInstanceID string `kafka:"min=v3,max=v3,nullable|min=v4,max=v4,nullable,compact"`
	ErrorCode       int16  `kafka:"min=v3,max=v4"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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