joingroup

package
v0.4.47 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 1 Imported by: 9

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=v5|min=v6,max=v7,compact"`
	SessionTimeoutMS   int32             `kafka:"min=v0,max=v7"`
	RebalanceTimeoutMS int32             `kafka:"min=v1,max=v7"`
	MemberID           string            `kafka:"min=v0,max=v5|min=v6,max=v7,compact"`
	GroupInstanceID    string            `kafka:"min=v5,max=v5,nullable|min=v6,max=v7,compact,nullable"`
	ProtocolType       string            `kafka:"min=v0,max=v5|min=v6,max=v7,compact"`
	Protocols          []RequestProtocol `kafka:"min=v0,max=v7"`
	// contains filtered or unexported fields
}

func (*Request) ApiKey

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

func (*Request) Group

func (r *Request) Group() string

type RequestProtocol

type RequestProtocol struct {
	Name     string `kafka:"min=v0,max=v5|min=v6,max=v7,compact"`
	Metadata []byte `kafka:"min=v0,max=v5|min=v6,max=v7,compact"`
	// contains filtered or unexported fields
}

type Response

type Response struct {
	ThrottleTimeMS int32            `kafka:"min=v2,max=v7"`
	ErrorCode      int16            `kafka:"min=v0,max=v7"`
	GenerationID   int32            `kafka:"min=v0,max=v7"`
	ProtocolType   string           `kafka:"min=v7,max=v7,compact,nullable"`
	ProtocolName   string           `kafka:"min=v0,max=v5|min=v6,max=v6,compact|min=v7,max=v7,compact,nullable"`
	LeaderID       string           `kafka:"min=v0,max=v5|min=v6,max=v7,compact"`
	MemberID       string           `kafka:"min=v0,max=v5|min=v6,max=v7,compact"`
	Members        []ResponseMember `kafka:"min=v0,max=v7"`
	// contains filtered or unexported fields
}

func (*Response) ApiKey

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

type ResponseMember

type ResponseMember struct {
	MemberID        string `kafka:"min=v0,max=v5|min=v6,max=v7,compact"`
	GroupInstanceID string `kafka:"min=v5,max=v5,nullable|min=v6,max=v7,nullable,compact"`
	Metadata        []byte `kafka:"min=v0,max=v5|min=v6,max=v7,compact"`
	// contains filtered or unexported fields
}

type ResponseMemberMetadata

type ResponseMemberMetadata struct{}

Jump to

Keyboard shortcuts

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