package
Version:
v0.0.0-...-bb7101a
Opens a new window with list of versions in this module.
Published: Jan 30, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type KafkaCAOption struct {
Enable bool `json:"enable" yaml:"enable"`
CAPath string `json:"ca_path" yaml:"ca_path"`
}
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 struct {
Enable bool `json:"enable" yaml:"enable"`
User string `json:"user" yaml:"user"`
Password string `json:"password" yaml:"password"`
}
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"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.