kafka

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: BSD-3-Clause Imports: 16 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type KafkaDriver

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

func (*KafkaDriver) Close

func (d *KafkaDriver) Close(context.Context) error

func (*KafkaDriver) Init

func (d *KafkaDriver) Init(context.Context) error

func (*KafkaDriver) Prepare

func (d *KafkaDriver) Prepare() error

func (*KafkaDriver) Send

func (d *KafkaDriver) Send(key, data []byte) error

type KafkaSASLAlgorithm added in v1.1.1

type KafkaSASLAlgorithm string
const (
	KAFKA_SASL_NONE         KafkaSASLAlgorithm = "none"
	KAFKA_SASL_PLAIN        KafkaSASLAlgorithm = "plain"
	KAFKA_SASL_SCRAM_SHA256 KafkaSASLAlgorithm = "scram-sha256"
	KAFKA_SASL_SCRAM_SHA512 KafkaSASLAlgorithm = "scram-sha512"
)

type XDGSCRAMClient added in v1.1.1

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

func (*XDGSCRAMClient) Begin added in v1.1.1

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

func (*XDGSCRAMClient) Done added in v1.1.1

func (x *XDGSCRAMClient) Done() bool

func (*XDGSCRAMClient) Step added in v1.1.1

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