notifierKafka

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: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Enabled bool
View Source
var FlagSet *flag.FlagSet

Functions

func ConfigProcess

func ConfigProcess(instance string)

Types

type NotifierKafka

type NotifierKafka struct {
	StopChan chan int
	// contains filtered or unexported fields
}

func New

func New(instance string, handler mdata.NotifierHandler) *NotifierKafka

func (*NotifierKafka) Send

func (c *NotifierKafka) Send(sc mdata.SavedChunk)

func (*NotifierKafka) Stop

func (c *NotifierKafka) Stop()

Stop will initiate a graceful stop of the Consumer (permanent)

NOTE: receive on StopChan to block until this process completes

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