kafka

package
v1.2.0-arch32 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func DiffPartitions

func DiffPartitions(a []int32, b []int32) []int32

returns elements that are in a but not in b

func GetPartitions

func GetPartitions(client sarama.Client, topics []string) ([]int32, error)

Types

type KafkaNet

type KafkaNet struct {
	// contains filtered or unexported fields
}

func ConfigNet

func ConfigNet(FlagSet *flag.FlagSet) *KafkaNet

func (*KafkaNet) Configure

func (k *KafkaNet) Configure(config *sarama.Config)

type XDGSCRAMClient

type XDGSCRAMClient struct {
	*scram.Client
	*scram.ClientConversation
	scram.HashGeneratorFcn
}

func (*XDGSCRAMClient) Begin

func (x *XDGSCRAMClient) Begin(userName, password, authzID string) (err error)

func (*XDGSCRAMClient) Done

func (x *XDGSCRAMClient) Done() bool

func (*XDGSCRAMClient) Step

func (x *XDGSCRAMClient) Step(challenge string) (response string, err error)

Jump to

Keyboard shortcuts

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