Documentation
¶
Index ¶
- Variables
- type KafkaInput
- func (k *KafkaInput) Close() error
- func (k *KafkaInput) Start(ctx context.Context, name string, cfg map[string]interface{}, ...) error
- func (k *KafkaInput) Update(cfg map[string]any) error
- func (k *KafkaInput) UpdateProcessor(name string, pcfg map[string]any) error
- func (k *KafkaInput) Validate(cfg map[string]any) error
- type XDGSCRAMClient
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 ¶
KafkaInput //
func (*KafkaInput) Close ¶
func (k *KafkaInput) Close() 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
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
Click to show internal directories.
Click to hide internal directories.