kafka_input

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SHA256 scram.HashGeneratorFcn = func() hash.Hash { return sha256.New() }
View Source
var SHA512 scram.HashGeneratorFcn = func() hash.Hash { return sha512.New() }

Functions

This section is empty.

Types

type KafkaInput

type KafkaInput struct {
	inputs.BaseInput
	// contains filtered or unexported fields
}

KafkaInput //

func (*KafkaInput) Close

func (k *KafkaInput) Close() error

func (*KafkaInput) Start

func (k *KafkaInput) Start(ctx context.Context, name string, cfg map[string]interface{}, opts ...inputs.Option) error

func (*KafkaInput) Update added in v0.43.0

func (k *KafkaInput) Update(cfg map[string]any) error

Update updates the input configuration and restarts the workers if necessary. It works only when the command is collector (not subscribe).

func (*KafkaInput) UpdateProcessor added in v0.43.0

func (k *KafkaInput) UpdateProcessor(name string, pcfg map[string]any) error

func (*KafkaInput) Validate added in v0.43.0

func (k *KafkaInput) Validate(cfg map[string]any) error

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