sarama

package
v0.0.0-...-bb7101a Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KafkaCAOption

type KafkaCAOption struct {
	Enable bool   `json:"enable"  yaml:"enable"`
	CAPath string `json:"ca_path"  yaml:"ca_path"`
}

type KafkaOption

type KafkaOption struct {
	TLSOption  KafkaTLSOption  `json:"tls_option"  yaml:"tls_option"`
	CAOption   KafkaCAOption   `json:"ca_option" yaml:"ca_option"`
	SASLOption KafkaSASLOption `json:"sasl_option"   yaml:"sasl_option"`
	Timeout    int             `json:"timeout"  yaml:"timeout"`
	Broker     []string        `json:"broker"  yaml:"broker"`
}

type KafkaSASLOption

type KafkaSASLOption struct {
	Enable   bool   `json:"enable"  yaml:"enable"`
	User     string `json:"user"  yaml:"user"`
	Password string `json:"password" yaml:"password"`
}

type KafkaTLSOption

type KafkaTLSOption struct {
	Enable   bool   `json:"enable"  yaml:"enable"`
	CertPath string `json:"cert_path"  yaml:"cert_path"`
	KeyPath  string `json:"key_path"  yaml:"key_path"`
}

Jump to

Keyboard shortcuts

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