Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SecurityOptions ¶
func SecurityOptions(protocol string, sslConf *config.KafkaSSL, saslConf *config.KafkaSASL) ([]kgo.Opt, error)
SecurityOptions translates the security_protocol / ssl / sasl config blocks into franz-go client options. The config keys mirror librdkafka's, which is what the Python engine configures.
Types ¶
type Option ¶
type Option func(*Source)
func WithChannelBuffer ¶
func WithLogger ¶
func WithReadTimeout ¶
Click to show internal directories.
Click to hide internal directories.