kafka

package
v0.0.0-...-87f9605 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SASL_NONE  = "none"
	SASL_PLAIN = "plain"
	SASL_SCRAM = "scram"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SaslConf

type SaslConf struct {
	SaslAuthType string `json:"saslAuthType"`
	SaslUserName string `json:"saslUserName"`
	SaslPassword string `json:"saslPassword"`
}

func GetSaslConf

func GetSaslConf(props map[string]interface{}) (SaslConf, error)

func (SaslConf) GetMechanism

func (c SaslConf) GetMechanism() (sasl.Mechanism, error)

func (SaslConf) Validate

func (c SaslConf) Validate() error

Jump to

Keyboard shortcuts

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