syncgroup

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 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=v3|min=v4,max=v5,compact"`
	GenerationID    int32               `kafka:"min=v0,max=v5|min=v4,max=v5,compact"`
	MemberID        string              `kafka:"min=v0,max=v3|min=v4,max=v5,compact"`
	GroupInstanceID string              `kafka:"min=v3,max=v3,nullable|min=v4,max=v5,nullable,compact"`
	ProtocolType    string              `kafka:"min=v5,max=v5"`
	ProtocolName    string              `kafka:"min=v5,max=v5"`
	Assignments     []RequestAssignment `kafka:"min=v0,max=v5"`
	// contains filtered or unexported fields
}

func (*Request) ApiKey

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

func (*Request) Group

func (r *Request) Group() string

type RequestAssignment

type RequestAssignment struct {
	MemberID   string `kafka:"min=v0,max=v3|min=v4,max=v5,compact"`
	Assignment []byte `kafka:"min=v0,max=v3|min=v4,max=v5,compact"`
	// contains filtered or unexported fields
}

type Response

type Response struct {
	ThrottleTimeMS int32  `kafka:"min=v1,max=v5"`
	ErrorCode      int16  `kafka:"min=v0,max=v5"`
	ProtocolType   string `kafka:"min=v5,max=v5"`
	ProtocolName   string `kafka:"min=v5,max=v5"`
	Assignments    []byte `kafka:"min=v0,max=v3|min=v4,max=v5,compact"`
	// 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